Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SUDO not recognizing user passwd change!

Status
Not open for further replies.

sreedca

IS-IT--Management
Jul 8, 2004
20
CA
Hi,

I have changed my user passwd in NIS environment,the hange is successful.I could log on from all the servers allowed to me.Then i log back in using new passwd.When i do "sudo su -",the passwd is asked and when i type my new user passwd,my new passwd is not being taken,instead,my old user passwd is accepted.How to make sudo recognize my new passwd?

Thx

Srid

 
Hi!

You can use "sudo -k" to clear yout sudo timestamp. Afterwards sudo shall accept your new password.

--Trifo
 
I would guess the time stamp expired after 5 minutes. Isn't this the default?
 
The timestamp doesn't seem like it would be the problem.

Did you recently switch to NIS? If so, it could be that your sudo isn't built with NIS capability, and your old password is still in /etc/passwd on the machine giving you trouble.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top