yppasswd length limit
Ian Mortimer
ian at physics.uq.edu.au
Thu Jan 13 22:57:16 UTC 2005
On Fri, 2005-01-14 at 01:09, zhicheng wang wrote:
> Thanks for the message and that works well for us. But
> how passwd changes nis passwd? i have read the man
> page for passwd and in the Internet, nowhere said
> passwd can change nis passwd, so never even thinking
> of trying this way.
>
> Still i need to know how this happens and would be
> most grateful if you can brief let me know more.
It works through pam. If you look at /etc/pam.d/system-auth you
should see an entry like:
password sufficient /lib/security/$ISA/pam_unix.so nullok
use_authtok md5 shadow nis
The nis argument at the end of the line is the key.
/etc/pam.d/system-auth is invoked by /etc/pam.d/passwd
--
Ian
More information about the redhat-list
mailing list