Cisco DNCS System Release 2.8.1 3.8.1 4.3.1 User Guide

Page of 1878
Creating a User Account
Note: The user will be required to change their password during their first successful login session.
1.
Open an xterm window on the DNCS.
2.
Log into the DNCS as root.
3.
Type useradd -u [user ID] -g [user group] -c "[comment about this user]" -d [user home
directory] -s [user shell] -m -k [user skeleton directory]; passwd [user ID] at the prompt. 
Notes:
The user ID must be between 6 and 8 alphanumeric characters.
The user ID cannot contain special characters.
Do not type the brackets [ ] in the command.
4.
Type the new password for the user account and press Enter. A prompt to re-enter the password
appears.
5.
Type the password again and press Enter.
6.
Type cd /export/home/[username] and press Enter. The user's home directory becomes the
active directory.
7.
Open the user's .profile file in a UNIX text editor.
8.
Add the following lines to the .profile file:
export PS1="$LOGNAME@'hostname':$PWD>"
set -o vi
9.
Save and close the user's .profile file.
Related Topics
Page  1572