Bug 238 - Sudo password is not getting synchronised with user password
Sudo password is not getting synchronised with user password
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Visudo
1.6.8
HP HI-UX/MPP
: low high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-28 12:27 MDT by Rajeev K Nair
Modified: 2008-06-11 09:33 MDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.