NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nis client and shadow passwords

How can I force NetBSD to take passwords from the shadow file, and other account details (uid,gid, shell) from the non-shadow password file?

Communications with the server do not seem to be a problem, as I can ypcat passwd.byname and shadow.byname, and yptest returns no errors from NetBSD. If I replace the 'x' in the non-shadow password file with the DES hash of the users' password, the user can log-in to the NetBSD box.
check man nsswitch.conf

/etc/nsswitch.conf should contain
group:          files nis
group_compat:   nis
passwd:         files nis
passwd_compat:  nis

Best Regards,

Home | Main Index | Thread Index | Old Index