1847402 Members
3160 Online
110264 Solutions
New Discussion

NIS Password

 
Sharon Bi_4
Occasional Advisor

NIS Password

Hi,

We have sereval NIS domain. When I tried to change a user password , I found
out the following problem:

* Domain 1
NIS Master: HP 10.20
NIS Client: some HP, some SUN

To change password of a user, I did the following on master:

1) passwd UID
2) /var/yp/ypmake

Result: It works fine.

* Domain 2
NIS Master: Sun
NIS Clients: some HP, some SUN

In order to change password of a user:

I have to login to a clinet and do a " yppasswd ", without doing "ypmake" , the
new pswd will be pushed out.

But if I do it on the master " yppasswd ", it only changes that user's pswd
locally. When try to login on to other machine by this ID, I found out the
pswd was not changed at all.

Does anyone why this is happening?

Thanks in advance and have a great weekend!!!

2 REPLIES 2
Fernando Santana
Frequent Advisor

Re: NIS Password

Hi, unfortunately we don't have NIS in my workplace,
but I can recall that it is recommended that only the
master should run the yppasswd deamon. I think you
should stop this deamon on your clients and slaves and
run it only on your master which means, you should
change passwords from your master NIS server only. Try pushing the passwd map
from your master:

1. touch /etc/passwd
2. /var/yp/ypmake passwd
Harish Shah
New Member

Re: NIS Password

I understand that SAM is not compatible with NIS. If this is true, how do you
apply security configuration (e.g minimum password length or password aging
etc.) on the HP UX 10.x box/system?