
4-12
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 4 Initial Configuration Tasks
Configuring User Parameters
To add and remove users, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Enter configuration mode:
sensor#
configure terminal
Step 3
Specify the parameters for the user:
sensor(config)#
username
username
password
password
privilege
administrator/operator/viewer
Note
A valid username contains 1 to 64 alphanumeric characters. You can also use an underscore (_)
or dash (-) in the username. A valid password is 6 to 32 characters long. All characters except
space and ‘?’ are allowed.
For example, to add the user “tester” with a privilege level of administrator and the password
“testpassword,” type the following command:
Note
If you do not want to see the password in clear text, wait for the password prompt. Do not type
the password along with the username and privilege.
sensor(config)#
username tester privilege administrator
Enter Login Password: ************
Re-enter Login Password: ************
sensor(config)#
Note
If you do not specify a privilege level for the user, the user is assigned the default viewer
privilege.
Step 4
Verify that the user has been added:
sensor(config)#
exit
sensor#
show users all
CLI ID User Privilege
* 13491 cisco administrator
jsmith operator
jtaylor service
jroberts viewer
sensor#
A list of users is displayed.
Step 5
To remove a user, use the
no
form of the command:
sensor#
configure terminal
sensor(config)#
no username jsmith