User Commands

[ LiB ]  

User Commands

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

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 

The password Command

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

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

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# 

graphics/note_icon.gif

The show user all command cannot be executed by users with viewer privilege.


[ LiB ]  


CSIDS Exam Cram 2 (Exam 642-531)
CSIDS Exam Cram 2 (Exam 642-531)
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 213

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net