[OLUG] problems with passwd

Vincent vraffensberger at home.com
Wed Apr 12 04:31:17 UTC 2000


John P McDaniel wrote:
> 
> anyone ever see this happen before?
> 
> [root] ~$ passwd
> passwd: cannot retrieve user's name
> [root] ~$ whoami
> root
> [root] ~$
> 
> ------ or -------
> 
> [jpm] ~$ passwd
> passwd: cannot retrieve user's name
> [jpm] ~$ whoami
> jpm
> [jpm] ~$
> 
> this happens to all users on my machine if they are in a X session or
> remotely logged in but users can execute passwd just fine if they log
> on to the console.  root can passwd if i specify a username.
> 
> Thanks in advance,
> - John
> 

Are you using shadow or MD5?
(this will tell you)
passwd -S user

I would try reinstalling/upgrading PAM and shadow-utils and see if that changes
anything.

-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 



More information about the OLUG mailing list