[ LiB ] |
You can use several commands to configure and manage user accounts. You should become very familiar with these user commands, which are listed here:
username password privilege show user
The username command creates users on the IDS system. The command sets the user's name , password, and privilege level. Adding no to the username deletes the user from the IDS sensor. The following examples display creating and deleting a user. Here is example 1:
sensor(config)# username tim password 13579@$^*) privilege viewer
Here is example 2:
sensor(config)# no username tim
You use the password command to change the current user password or the password of other users on the IDS sensor. However, the administrator is the only user who can change another person's password. Following are two examples; the first changes the current user password, and the second changes the password of a username, tina.
Here is example 1:
sensor(config)# password Enter Old Login Password: ********* Enter New Login Password: ****** Re-enter New Login Password: ******
Following is example 2:
sensor(config)# password tina Enter New Login Password: ****** Re-enter New Login Password: ****** sensor(config) #
The privilege command allows administrators to change existing user-level privileges to one of the four base privilege levels: administrator, operator, viewer, and service. The example changes the user tina's privilege level to operator:
sensor(config)# privilege user tina operator
The show user command displays the current users logged on to the CLI. Executing the show user all command displays all the user accounts configured on the sensor. The examples demonstrate both these options:
sensor# show user CLI ID User Privilege * 1414 cisco administrator sensor# show user all CLI ID User Privilege * 1414 cisco administrator danny service tina operator sensor#
The show user all command cannot be executed by users with viewer privilege. |
[ LiB ] |