Some people may still be using NIS (Yellow Pages) despite the security issues associated with
this service, so here’s how to create a new user on NIS master.
1. Go to the yp source directory.
# cd /var/yp/src
2. Make a backup copy of password file, edit the passwd file and add new user. Make sure that
the uid is unique.
# cp passwd passwd.[current date]
# vi passwd
3. Create a home directory for new user (if necessary)
# mkdir /home/[username]
4. Run make.
# cd /var/yp
# make
5. Confirm that the user has been successfully added
# ypcat passwd | grep [username]
|