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

21.3.7 Credential Setup

21.3.7.1 Root Master

Setting Up Credentials for the Root Master Server

1. Login as root on the root master server and create the credential for the root master at the highest security level
# nisaddcred des

Create the group nisadmin and the master host to the group
# nisgrpadm -c nisadmin.acs.ohio-state.edu.
# nisgrpadm -a nisadmin.acs.ohio-state.edu. master_host_name.acs.ohio-state.edu.

Update the NIS+ keys
# nisupdkeys acs.ohio-state.edu.
# nisupdkeys org_dir.acs.ohio-state.edu.
# nisupdkeys groups_dir.acs.ohio-state.edu.

Kill and restart the rpc.nisd with the new security level enforced
# ps -ef | grep rpc.nisd
# kill rpc.nisd_pid_number
# rpc.nisd -r

Set the permissions and group ownerships for the directories
# nischmod g=rmcd acs.ohio-state.edu. org_dir.acs.ohio-state.edu. groups_dir.acs.ohio-state.edu.
# nischgrp nisadmin.acs.ohio-state.edu. acs.ohio-state.edu.

Set the environmental 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]