Creating a Nonroot User Account and Password (CTPView Server
CLI)
Before you begin, prepare the server
by accessing the shell. See Accessing a Shell on the CTPView Server (CTPView Server CLI).
To create a new account and password for a
nonroot user:
- Enter the following command:
/usr/sbin/useradd username
- Enter the following command:
/usr/bin/passwd username
- Enter the new password for the nonroot user when
prompted.
- Enter the following command:
/bin/mount /dev/md2 -o remount,ro
- Enter the command reboot.
Wait for the server to reboot.
- Log in as the new temporary user.
- Enter the command su - to switch to the root account and display the CTPView Configuration
Menu utility.
- Create a new permanent nonroot user account.
- Exit the utility, the root account, and then the
temporary user account.
- Log in as the new permanent nonroot user.
- Enter the command su - to switch to the root account.
- Enter the following command to delete the temporary
user account:
/usr/bin/userdel -r username
Published: 2010-10-05