Type "sudo dscl . -create /Users/username UserShell /bin/bash" and press "Enter."
Type "sudo dscl . -create /Users/username RealName "John Smith"" and press "Enter." Replace "John Smith" with the new user's full name.
Type "sudo dscl . -create /Users/username UniqueID 1001" and press "Enter." The number after "UniqueID" must be an ID number that is not assigned to another user.
Type "sudo dscl . -create /Users/username PrimaryGroupID 1000" and press "Enter."
Type "sudo dscl . -create /Users/username NFSHomeDirectory /Local/Users/username" and press "Enter." This creates a home folder for the new user.
Type "sudo dscl . -passwd /Users/username password" and press "Enter." Replace "password" with the desired password that the new user will use when logging in to the computer. You may need to type your computer's administrator password again to complete this action.
Type "sudo dscl . -append /Groups/admin GroupMembership username" and press "Enter" to give the new user administrative privileges. To make the new account a limited user account, skip this step.