HP XC System Software Administration Guide Version 3.1
# rm -f /tmp/root_crontab
6. Verify the changes you made to the root user's crontab file:
# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/root_crontab installed on date time year)
# (Cron version -- $Id: crontab.c,v 2.13 vixie Exp $)
.
.
.
20 * * * * /usr/lib/yp/ypxfr_1perhour
40 6 * * * /usr/lib/yp/ypxfr_1perday
55 6,18 * * * /usr/lib/yp/ypxfr_2perday
13.8 Changing Administrative Passwords
This section describes the procedures for changing the following administrative passwords on an HP XC
system:
• “Changing the Superuser Password” (page 152)
• “Changing the CMDB Password” (page 152)
• “Changing the Interconnect Password” (page 153)
• “Changing the Console Port Password” (page 154)
• “Changing the Nagios Administrator Password” (page 155)
• “Changing the LSF Administrator Password” (page 155)
13.8.1 Changing the Superuser Password
The following procedure describes how to change the root password and propagate that change throughout
the HP XC system:
1. Log in as superuser on the head node.
2. Use the passwd command to change the password locally on the head node.
At this time, the root password is changed only on the head node.
3. Update the golden image to ensure that the root password change is propagated the next time the
nodes are reinstalled:
# updateimage --gc `hostname` --no-netboot
For additional information on updating the golden image, see “Updating the Golden Image” (page 136).
4. Run the following commands to update all the appropriate files throughout the HP XC system:
# pdcp -a -x `hostname` /etc/passwd /etc/passwd
# pdcp -a -x `hostname` /etc/group /etc/group
# pdcp -a -x `hostname` /etc/shadow /etc/shadow
# pdcp -a -x `hostname` /etc/gshadow /etc/gshadow
When this step is complete, the root password is changed on all the nodes in the HP XC system.
13.8.2 Changing the CMDB Password
The configuration and management database (CMDB) is a mysql database, and you can change its
administrative password by using the mysql tools.
CAUTION: Changing the CMDB password can cause complications that can corrupt the database and
jeopardize system operation; for example, some commands might cease to function.
152 Managing Local User Accounts and Passwords