Logging Out Users - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Configuring User Accounts
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .
To configure a new user or to modify the profile of an existing user, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# username usam password abcd123AAA
expire 2003-05-31
switch(config)# username msam password 0 abcd12AAA
role network-operator
switch(config)# username user1 password 5
!@*asdsfsdfjh!@df
Step 3
switch(config)# username usam role network-admin
switch(config)# no username usam role vsan-admin
Step 4
switch(config)# username admin sshkey ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAtjIHrIt/3dDeohix6JcRSIYZ
0EOdJ3l5RONWcwSgAuTUSrLk
3a9hdYkzY94fhHmNGQGCjVg+8cbOxyH4Z1jcVFcrDogtQT+Q8dve
qts/8XQhqkNAFeGy4u8TJ2Us
oreCU6DlibwkpzDafzKTpA5vB6FmHd2TI6Gnse9FUgKD5fs=
switch(config)# no username admin sshkey ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAtjIHrIt/3dDeohix6JcRSIYZ
0EOdJ3l5RONWcwSgAuTUSrLk
3a9hdYkzY94fhHmNGQGCjVg+8cbOxyH4Z1jcVFcrDogtQT+Q8dve
qts/8XQhqkNAFeGy4u8TJ2Us
oreCU6DlibwkpzDafzKTpA5vB6FmHd2TI6Gnse9FUgKD5fs=

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
Use the show users command to view a list of the logged in users (see
Cisco MDS 9000 Family Configuration Guide
26-12
Chapter 26
Configuring Users and Common Roles
Purpose
Enters configuration mode.
Creates or updates the user account
(usam) along with a password
(abcd123AAA) that is set to expire on
2003-05-31. The password is limited to
64 characters.
User account names must
Note
contain non-numeric
characters.
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.
User account names must
Note
contain non-numeric
characters.
Specifies an encrypted (specified by 5)
password (!@*asdsfsdfjh!@df) for the
user account (user1).
Adds the specified user (usam) to the
network-admin role.
Deletes the specified user (usam) from
the vsan-admin role.
Specifies the SSH key for the user
account (usam).
Deletes the SSH key for the user
account (usam).
Example
26-5).
OL-6973-03, Cisco MDS SAN-OS Release 2.x

Advertisement

Table of Contents
loading

Table of Contents