Bug 238

Summary: Sudo password is not getting synchronised with user password
Product: Sudo Reporter: Rajeev K Nair <raj_ncr>
Component: VisudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high CC: raj_ncr
Priority: low    
Version: 1.6.8   
Hardware: HP   
OS: HI-UX/MPP   

Description Rajeev K Nair 2007-03-28 12:27:05 MDT
Here the problem which we are facing is i am able to login to the server.
But my login password is not getting synchronized with sudo
Here is the output of command:
bg-qaddv:/home/techsup/cnairr1 > /usr/sbin/sudo -l
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: 2 incorrect password attempts
bg-qaddv:/home/techsup/cnairr1 >

Infact everything was working good,but one day the problem started with my and my colleague's account.
I heard that sudo may not work with a password more than 8 character long.
Then i tried with 7, 6 character long password also. But no result.
Infact we were facing this problem in some other servers,there after we changed the password to below 8 character one,the problem got resolved.

But in this server, still i am facing problem.

As far as i know ,there is no seperate password database for sudo.

Can anyone help me in this issues?.
Comment 1 Todd C. Miller 2007-04-24 14:47:45 MDT
Try configuring sudo to use pam and see if that helps.  It is possible that sudo is trying to authenticate you against a different password database than login is.
Comment 2 Todd C. Miller 2008-06-11 09:33:42 MDT
Sudo now tries to use PAM if it is available which should avoid this problem.