change NIS user password
Hi
I have created an NIS server and user is nis1. need to change password for root and nis1 user. when try to change passwd for root, getting the following message and no passwd changed.. [root@server yp]# yppasswd Changing YP password for root on server. Please enter old password: Sorry. can anyone explain what is problem and how to fix this? Thanks and Regards |
Try
Code:
yppasswd root Code:
passwd root Code:
Try using rpasswd Are you able to change password for your user? Code:
sudo yppasswd nis1 |
Thanks for the update.
Passwd for root or user nis1 is not yet changed. getting the same output as above. [root@server nis1]# sudo yppasswd nis1 Changing YP password for nis1 on server. Please enter old password: Sorry. [root@server nis1]# Is any idea what the actually issue here? |
Usually, root is not in the NIS password database.
This is because it is a vulnerability to do so - NIS on its own is not all that secure. NIS with root is VERY insecure. |
thanks Jpollard.
but nis1 user is in the NIS database so it should be change.but the state as the root user. |
Only if the old password is valid.
Now, if it accepted the change, but the new password doesn't seem to work... can be caused by having multiple slave NIS servers running, but updates have not yet been propagated to the slaves. To set a users password, only the root user on the master server (not a slave server) should be able do it. |
only two one NIS server and client is here.
Thanks a lot Jpollard |
All times are GMT -5. The time now is 07:42 AM. |