[Next] [Previous] [Up] [Top] [Contents]

21.3.7 Credential Setup Users

Setting Up Credentials for Users

1. Login as root on the root master server and create the user account. This can be done with admintool. Add a password for the user account using the nispasswd command and add the credentials using nisaddcred.
# admintool
# nispasswd login_name
# nisaddcred -p uid# local
# nisaddcred -p unix.uid#@acs.ohio-state.edu -P login_name.acs.ohio-state.edu. des

To allow the user to change the NIS+ maps, the user must be added to the NIS+ group, nisadmin.acs.ohio-state.edu.
# nisgrpadm -a nisadmin.acs.ohio-state.edu. login_name.acs.ohio-state.edu.

If the user is to update the maps using admintool you must create the group sysadmin with gid=14 and then add this user as a member of the sysadmin group.

Set the user's environment variable NIS_GROUP. To do this permanently add this variable to ~/.profile and ~/.login, e.g.
# setenv NIS_GROUP nisadmin.acs.ohio-state.edu.

Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]