Terminal Password Error Monterey 12.6.7
Credentials unable to verify in Terminal.
chsh: Credentials could not be verified, username or password is invalid.
Has anyone had this problem? Please help
Credentials unable to verify in Terminal.
chsh: Credentials could not be verified, username or password is invalid.
Has anyone had this problem? Please help
chsh is a command to change user database information – including, most notably, one's preferred shell (Unix command interpreter). The command name is an abbreviation of (ch)ange (sh)ell.
If you are not running as superuser (e.g., "root" or sudo), it asks for the user's password to prove that you have the right to change the information. If authentication failed, say, because you specified a bogus user name or a bogus password (or left off the -s before a newshell parameter, making it look like a bogus user name), you get the "Credentials could not be verified" message.
CHPASS(1) BSD General Commands Manual CHPASS(1)
NAME
chpass, chfn, chsh -- add or change user database information
SYNOPSIS
chpass [-l location] [-u authname] [-s newshell] [user]
DESCRIPTION
The chpass utility allows editing of the user database information asso-
ciated with user or, by default, the current user.
The chpass utility cannot change the user's password on Open Directory
systems. Use the passwd(1) utility instead.
The chfn, and chsh utilities behave identically to chpass. (There is
only one program.)
chsh is a command to change user database information – including, most notably, one's preferred shell (Unix command interpreter). The command name is an abbreviation of (ch)ange (sh)ell.
If you are not running as superuser (e.g., "root" or sudo), it asks for the user's password to prove that you have the right to change the information. If authentication failed, say, because you specified a bogus user name or a bogus password (or left off the -s before a newshell parameter, making it look like a bogus user name), you get the "Credentials could not be verified" message.
CHPASS(1) BSD General Commands Manual CHPASS(1)
NAME
chpass, chfn, chsh -- add or change user database information
SYNOPSIS
chpass [-l location] [-u authname] [-s newshell] [user]
DESCRIPTION
The chpass utility allows editing of the user database information asso-
ciated with user or, by default, the current user.
The chpass utility cannot change the user's password on Open Directory
systems. Use the passwd(1) utility instead.
The chfn, and chsh utilities behave identically to chpass. (There is
only one program.)
Hi there Rflip8,
We'll need some details in order to help. What exactly are you trying to accomplish in Terminal? Are you attempting to reset your Mac login password? If so, make sure you've tried the steps in this support article before attempting to use Terminal: If you forgot your Mac login password
What exactly are you doing in Terminal before this error appears?
Send over some details, and we'll take a closer look from there.
Thanks!
Terminal Password Error Monterey 12.6.7