63.5 Setting Up The Client
To set up the NIS client on Festival:
festival$ wajig install netbase portmap nis
You will be asked the name of the nis domain. You must use the name
you supplied to the master server (
ktnet). It is
Specify the NIS server address in
Restart the client:
$ wajig restart nis
You can test that the client can access the server with:
$ ypcat passwd
This should list the users available from the server.
Now edit the passwd, shadow, group and gshadow files. In passwd remove all the users (anyone with a user id in the 1000’s) and add:
And in shadow:
Then in groups and gshadow files, similarly remove the users and add:
NIS should now be working. Certainly
ypcat passwd should show the
users in NIS.
When adding a new user, add the user on the server (with
adduser) and then you may need to rerun
/usr/lib/yp/ypinit -m, or perhaps it is .
Your donation will support ongoing availability and give you access to the PDF version of the book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.