34
DarkStar User Guide
3: Software
www.xkl.com
3.2.10.2 Serial Console Password
The serial console terminal (CTY) may be secured in similar fashion to the VTY line, with either a password or username and
password combination.
The following example illustrates how to set a password for CTY access. Setting the password will overwrite any
previously set password on the CTY:
localhost>
enable
localhost#
configure
localhost CONF#
line console
localhost CONF-LINE-CTY#
password
new-password
localhost CONF-LINE-CTY#
end
localhost#
write memory
Are you sure? [yes/no]
yes
localhost#
logout
The following example illustrates how to remove a CTY password. After following this procedure, you can either set a
new password or leave the system unprotected:
localhost>
enable
localhost#
configure
localhost CONF#
line console
localhost CONF-LINE-CTY#
no password
localhost CONF-LINE-CTY#
end
localhost#
write memory
Are you sure? [yes/no]
yes
The following example illustrates how to create CTY user accounts:
localhost>
enable
localhost#
configure
localhost CONF#
user
username
password
new-password
localhost CONF#
user
another-user
password
another-password
localhost CONF#
line console
localhost CONF-LINE-CTY#
login local
localhost CONF-LINE-CTY#
end
localhost#
write memory
Are you sure? [yes/no]
yes
localhost#
NOTE
The same pool of accounts is used to store users for both CTY and VTY access. Be aware that any user
created for CTY access may also be used to login via VTY access, assuming VTY is configured for
remote login via telnet or SSH.
The following example illustrates how to stop using user accounts and instead use a single login. Accounts will remain
in the system and configure file, but cannot be used to access the machine:
localhost>
enable
localhost#
configure