Archive
Archive for the ‘Network Information Service’ Category
Add users to a cluster
15 September 2010
Leave a comment
Problem
You need to add a new user to a cluster of computers that uses Network Information Service (NIS). How do you add the user and get all cluster nodes to recognise that user?
Solution
See Chapter 15 NIS: Network Information Service of the book SuSE Linux Internals for more information on using NIS.
- Identify which machines in the cluster is a NIS server and login to that machine.
- Use the command /usr/sbin/adduser to create an account for the new user with a default password.
- Navigate to /var/yp and issue the command make with the necessary credential.
- Login as the new user and change her default password to another default password. You can use the program apg to generate strong random default passwords. See this page in the Ubuntu Community Documentation for more information.
- Send the new user her login credentials and inform her to change her default password during her first login session.
Categories: apg, documentation, Linux, Network Information Service
apg, Linux, NIS, primer