I'm having an issue with my NIS system. I am trying to use pw to change a password of a user on my NIS. I have all the NIS users in a
When I use the command:
I get an error:
Do I need another switch to specify this is a NIS file? I think it is still looking for TestUser in the
Any help would be greatly appreciated.
Thanks
/var/yp/master.passwd
file.When I use the command:
echo 'password' | pw mod user TestUser -Y -y /var/yp/master.passwd -h 0
I get an error:
pw: no such user `TestUser'
Do I need another switch to specify this is a NIS file? I think it is still looking for TestUser in the
/etc/master.passwd
file... and it doesn't exist there.Any help would be greatly appreciated.
Thanks