On Tue, 2004-06-22 at 13:56, Tom Allison wrote:
"mynamehere" is not allowed to run sudo on localhost. This incident will be reported
I used the wrong password too many times. How do I "clear" this?
This is new to me; I am not aware of any feature of either "sudo" or "pam" that allows an account to be locked out after N login failures (though a pam module could probably be built for this fairly easily).
Are you absolutely certain that the lockout is due to repeated login failures, and not some other cause like accidentally deleting some sudo-related file?
I believe that when sudo wishes to validate a password, it just uses the standard Linux-PAM module. So you may also wish to check the contents of /etc/pam.d/sudo to see if there are any funky authentication rules in there. All I have (which I believe is normal) is: auth required pam_unix.so
ie sudo authentication simply checks /etc/passwd and /etc/shadow, with no facility to perform lockout at all.
Regards,
Simon
Screwed up my hosts file, and I couldn't authenticate on that server anymore... :) go figure.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]