27.11.2012 Views

IronPort - daily management guide - AsyncOS 7.6.1

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 8 Common Administrative Tasks<br />

Additional Commands to Support Multiple Users: who, whoami, and last<br />

OL-25138-01<br />

The following commands support multiple user access to the appliance.<br />

Working with User Accounts<br />

The who command lists all users who are logged into the system via the CLI, the time of login, the<br />

idle time, and the remote host from which the user is logged in:<br />

mail3.example.com> who<br />

Username Login Time Idle Time Remote Host What<br />

======== ========== ========= =========== ====<br />

admin 03:27PM 0s 10.1.3.201 cli<br />

The whoami command displays the username and full name of the user currently logged in, and<br />

which groups the user belongs to:<br />

mail3.example.com> whoami<br />

Username: admin<br />

Full Name: Administrator<br />

Groups: admin, operators, config, log, guest<br />

The last command displays which users have recently logged into the appliance. The IP address of<br />

the remote host, and the login, logout, and total time are also displayed.<br />

mail3.example.com> last<br />

Username Remote Host Login Time Logout Time Total Time<br />

======== =========== ================ ================ ==========<br />

admin 10.1.3.67 Sat May 15 23:42 still logged in 15m<br />

admin 10.1.3.67 Sat May 15 22:52 Sat May 15 23:42 50m<br />

admin 10.1.3.67 Sat May 15 11:02 Sat May 15 14:14 3h 12m<br />

admin 10.1.3.67 Fri May 14 16:29 Fri May 14 17:43 1h 13m<br />

shutdown Fri May 14 16:22<br />

shutdown Fri May 14 16:15<br />

admin 10.1.3.67 Fri May 14 16:05 Fri May 14 16:15 9m<br />

Cisco <strong>IronPort</strong> <strong>AsyncOS</strong> 7.6 for Email Daily Management Guide<br />

8-19

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

Saved successfully!

Ooh no, something went wrong!