HP XC System Software Administration Guide Version 3.1

13.5 Deleting a Local User Account
Remove a user account with the userdel command; you must be superuser on the golden client node to
use this command. This command provides the -r option, which removes that user's home directory, all
the files in that directory, and the user's mail spool.
Make sure that you propagate these changes to all the other nodes in the system as described in “Distributing
Software Throughout the System” (page 129).
13.6 Configuring the ssh Keys for a User
The ssh command requires a login and password whenever a user logs into a node and run jobs on various
node allocations. You can configure the ssh keys for a user to bypass the login and password requirement.
The ssh_create_shared_keys command, used on a one-time basis, updates the appropriate ssh key
files in the user's $HOME/.ssh directory, provided:
The user must have an account on the HP XC system.
The user's home directory is mounted on all the nodes.
Write permission for the user's home directory is denied for group and others.
The format of the command is as follows, where login is the login name for the specified user:
ssh_create_shared_keys [ --user login]
Entering the ssh_create_shared_keys command without the --user option updates the ssh key
files for the current user.
13.7 Synchronizing the NIS Database
If you configured a slave Network Information Service (NIS) server on the head node, you must ensure
that the NIS database on the head node is synchronized periodically with the NIS master server.
The following procedure uses the cron utility and the ypxfr command and scripts to automate periodic
updates of the NIS database. For more information on the ypxfr command, see ypxfr(8).
Note:
The ypxfr scripts are located in the /usr/lib/yp directory on Itanium®-based systems and in the
/usr/lib64/yp directory on other systems.
1. Log in as superuser on the head node.
2. Make a copy of the root crontab file into a temporary file named /tmp/root_crontab:
# crontab -l >/tmp/root_crontab 2>/dev/null
3. Use the text editor of your choice as follows:
a. Open the temporary file.
b. Append the following lines to the temporary file:
# Download NIS maps according to update frequency.
20 * * * * /usr/lib/yp/ypxfr_1perhour
40 6 * * * /usr/lib/yp/ypxfr_1perday
55 6,18 * * * /usr/lib/yp/ypxfr_2perday
c. Save your changes and exit the text editor.
4. Replace the existing root user's crontab file with the temporary file:
# crontab /tmp/root_crontab
5. Remove the temporary file:
13.5 Deleting a Local User Account 151