29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing <strong>Switch</strong> User Accounts<br />

Multiple User Sessions<br />

Listing Your Current Login Session<br />

In order to list information about your current login session, you may either use the who command and<br />

identify your login by your IP address or you may enter the whoami command. The following will<br />

display:<br />

-> whoami<br />

Session number = 4<br />

User name = admin,<br />

Access type = telnet,<br />

Access port = NI,<br />

IP address = 148.211.11.02,<br />

Read-only domains = None,<br />

Read-only families = ,<br />

Read-Write domains = All ,<br />

Read-Write families = ,<br />

This display indicates that the user is currently logged in as session number 4, under the username<br />

“admin,” using a Telnet interface, from the IP address of 148.211.11.02.<br />

Terminating Another Session<br />

If you are logged in with administrative privileges, you can terminate the session of another user by using<br />

the kill command. The following command will terminate login session number 4.<br />

-> kill 4<br />

The command syntax requires you to specify the number of the session you want to kill. You can use the<br />

who command for a list of all current user sessions and their numbers. The kill command takes effect<br />

immediately.<br />

Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014 page 6-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!