Sudo Password Incorrect
I have set up a new account, with a user name of Benjamin. I have added the following line using 'visudo': Benjamin ALL=(ALL) ALL, giving the new user name sudo ability.
However, when running a sudo command, while logged in with the user name 'Benjamin', I receive an incorrect password error. All works as expected when utilizing the line: Benjamin ALL=(ALL) NOPASSWD:ALL, as no password is required. Yes, I am entering the password for user name 'Benjamin' and not that of the root account. What am I missing? Thank you! |
Quote:
|
Quote:
Code:
sudo passwd Benjamin |
I am a bit confused !!
You are specifying NOPASSWD:ALL, Why is this asking for a passwd? AFAIK, NOPASSWD provides access without prompting for your password. |
Quote:
Quote:
Quote:
|
A wise monkey once told that caps are bad for your hair. Create another account with all lowercases, mirror group memberships. Also if there is another account with same name only no caps set each password the same and try it again.
|
Quote:
Aside from simple user error on my part, are there any known software conflicts, shadow password conflicts, etc.. that may be causing my problems? |
Run "faillog --help" for proper syntax
GOAL: check the user account and see if account is password failure locked. If it is, reset counter for that account to "0". |
After changing groups or editing sudoers, you may need to reboot for the changes to take effect.
IIRC, there is a command to reload groups but I don't remember it. |
Quote:
"targetpw" is not set in your sudoers file, is it? |
All times are GMT -5. The time now is 11:02 AM. |