Bugzilla – Bug 297
Validating user with /etc/passwd
Last modified: 2008-11-05 19:59:08 MST
Whenever I'm trying to execute script without sudo it works. $ sh /home/test testing sudo execution mpmt@Server1 [~] However I tried to excute with sudo. It gives below error. It print the same message 3 times, without giving me any option to re-enter password. $ sudo sh /home/test Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts mpmt@Server1 [~] $ The sudo is compiled with PAM enableb. But when there is no PAM available on the system then it should validate user with /etc/passwd! Please correct if I'm missing something. Regards
You need to configure pam for use by sudo. See the sample.pam file that comes with sudo.