I want to know whether i can change the password of a user logged in thru NIS from a client machine after stopping the YP services in NIS server.
Note - The Slave server is up and running.
I tried doing this. But i got the reply "Permission Denied".
I stopped the YP services in NIS server using the command "/usr/lib/netsvc/yp/ypstop".
I tried changing the password in the client in the below manner:
[!]root: yppasswd d08083
Enter d08083's password:
New Password:
Re-enter new Password:
Permission denied
You can't change a user's password if the NIS master is off. The slave servers are read-only caches to speed-up name resolution. AFAIK, there can only be a single repository with NIS. You can use ldap as name service back-end to allow write availability.
Friends,
I have one more question as of now. Is there any way by which the NIS user will be able to create a Home directory of his own in any of the clients he logs on to. Just like the way we have in windows AD;where a new user when logging into a client creates his own home directory.
In my environment,NFS service is not allowed. So mounting the home directories is not possible.
The workaround is clearly explained in the link I posted although you'll need to adapt it should you use UFS instead of ZFS.
What exactly are you missing ?