Logging Out Users - Cisco MDS 9000 Series Configuration Manual

Security
Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Logging Out Users

Step 2
switch(config)# username usam password abcd123AAA expire 2003-05-31
Creates or updates the user account (usam) along with a password (abcd123AAA) that is set to expire on
2003-05-31.
Step 3
switch(config)# username msam password 0 abcd12AAA role network-operator
Creates or updates the user account (msam) along with a password (abcd12AAA) specified in clear text
(indicated by 0). The password is limited to 64 characters.
Step 4
switch(config)# username user1 password 5 $1$UgOR6Xqb$z.HZlMk.ZGr9VH67a
Specifies an encrypted (specified by 5) password (!@*asdsfsdfjh!@df) for the user account (user1).
Note
Step 5
switch(config)# username usam role network-admin
Adds the specified user (usam) to the network-admin role.
Step 6
switch(config)# no username usam role vsan-admin
(Optional) Deletes the specified user (usam) from the vsan-admin role.
Step 7
switch(config)# username admin sshkey ssh-rsa
A A A A B 3 N z a C 1 y c 2 E A A A A B I w A A A I E A t j I H r I t / 3 d D e o h i x 6 J c R S I Y Z 0 E O d J 3 l 5 R O N W c w S g A u T U S r L k 3 a 9 h d Y k z Y 9 4 f h H m N G Q G C j V g + 8 c b O x y H 4 Z 1 j c V F c r D o g t Q T + Q 8 d v e q t s / 8 X Q h q k N A F e G y 4 u 8 T J 2 U s 3 a 9 h d Y k z Y 9 4 f h H m N G Q G C j V g + 8 c b O x y H 4 Z 1 j c V F c r D o g t Q T + Q 8 d v e q t s / 8 X Q h q k N A F e G y 4 u 8 T J 2 U s
Specifies the SSH key for an existing user account (admin).
Step 8
switch(config)# no username admin sshkey ssh-rsa
A A A A B 3 N z a C 1 y c 2 E A A A A B I w A A A I E A t j I H r I t / 3 d D e o h i x 6 J c R S I Y Z 0 E O d J 3 l 5 R O N W c w S g A u T U S r L k 3 a 9 h d Y k z Y 9 4 f h H m N G Q G C j V g + 8 c b O x y H 4 Z 1 j c V F c r D o g t Q T + Q 8 d v e q t s / 8 X Q h q k N A F e G y 4 u 8 T J 2 U s 3 a 9 h d Y k z Y 9 4 f h H m N G Q G C j V g + 8 c b O x y H 4 Z 1 j c V F c r D o g t Q T + Q 8 d v e q t s / 8 X Q h q k N A F e G y 4 u 8 T J 2 U s
(Optional) Deletes the SSH key for the user account (admin).
Step 9
switch(config)# username usam ssh-cert-dn usam-dn dsa
Specifies an SSH X.509 certificate distinguished name and DSA algorithm to use for authentication for an
existing user account (usam).
Step 10
switch(config)# username user1 ssh-cert-dn user1-dn rsa
Specifies an SSH X.509 certificate distinguished name and RSA algorithm to use for authentication for an
existing user account (user1).
Step 11
switch(config)# no username admin ssh-cert-dn admin-dn dsa
Removes the SSH X.509 certificate distinguished name for the user account (admin).
Logging Out Users
To log out another user on the switch, use the clear user command.
In the following example, the user named vsam is logged out from the switch:
switch# clear user vsam
Cisco MDS 9000 Series Security Configuration Guide, Release 8.x
26
If user is created with encrypted password option then corresponding SNMP user will not be created.
Common Roles

Advertisement

Table of Contents
loading

Table of Contents