Wednesday, April 18, 2012

Creating a user

Since we're sharing the file /etc/passwd the user creation is not as simple as typing adduser, but we have to do that (you could also edit /etc/passwd).
Then we go to /etc/passwd and change the last line, where the user is, to look for his home in the nfs shared home folder.

Then the "hard" part:
go to /var/yp/ and type

make

and then reboot nis only on server:

/etc/init.d/nis restart


It's just f*****g hard.

No comments:

Post a Comment