Multiple User Sessions
Listing Your Current Login Session
In order to list information about your current login session, you may either use the who command and
identify your login by your IP address or you may enter the whoami command. The following will
display:
-> whoami
Session number = 4
User name
= admin,
Access type = telnet,
Access port = NI,
IP address
= 148.211.11.02,
Read-only domains
Read-only families
Read-Write domains
Read-Write families = ,
This display indicates that the user is currently logged in as session number 4, under the username
"admin," using a Telnet interface, from the IP address of 148.211.11.02.
Terminating Another Session
If you are logged in with administrative privileges, you can terminate the session of another user by using
the kill command. The following command will terminate login session number 4.
-> kill 4
The command syntax requires you to specify the number of the session you want to kill. You can use the
who command for a list of all current user sessions and their numbers. The kill command takes effect
immediately.
page 6-20
= None,
= ,
= All ,
OmniSwitch AOS Release 7 Switch Management Guide
Managing Switch User Accounts
March 2011