SUMMARY: Urgent: /bin/passwd: Permission denied

From: Lars Hecking (lhecking@nmrc.ucc.ie)
Date: Tue Dec 02 2003 - 10:53:03 EST


I wrote:
> # whoami
> root
> # passwd user
> New Password:
> Re-enter new Password:
> Permission denied
> #
>
> What could be the problem? I tried to truss the process, but couldn't
> spot anything useful?
>
> This is on our NIS server, running Solaris 9 8/03.

 Thanks to:
 Nicolas Figaro
 Chad Graham
 Daniel Jaime
 Larye Parkins
 David M Dennis
 Patrick O'Reilly
 Ed Rolison
 Matthias Wanke

 The suggestions were:
 - check /etc/pam.conf (unchanged from the default install)
 - make sure there is one, and only one, entry for the user in both
   passwd and shadow
 - make sure that passwd and shadow are consistent with each other
   (see pwconv(1m))
 - try the nispasswd command (which is actually for nis+ :)
 - try 'passwd -r files'
 - make sure yppasswdd is running

 Turns out yppasswdd was not running. Thanks to Ed Rolison for the
 suggestion.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:36 EDT