How to create NIS user account?
1.Create the local user account on NIS server for ex,
# useradd -u 606 -c rengarajang -md /export/home/rengs -s /bin/bash rengs
set password for this account
#passwd rengs
New Password:*********
Re-enter new Password:*********
passwd: password successfully changed for rengs
Goto /var/yp directory and run make command this will update the nis passwd file
# cd /var/yp
# /usr/ccs/bin/make
updated netid
pushed netid
Now you can login from NIS client
No comments:
Post a Comment