Cisco Cisco Email Security Appliance C160 Références techniques

Page de 324
 
3-292
CLI Reference Guide for AsyncOS 9.6 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  User Management
admin     10.251.60.37   Tue Aug 30 01:45  Tue Aug 30 02:17  32m
admin     10.251.16.231  Mon Aug 29 10:29  Mon Aug 29 10:41  11m
shutdown                                   Thu Aug 25 22:20
who
Description
The 
who
 command lists all users who are logged into the system via the CLI, the time of login, the idle 
time, and the remote host from which the user is logged in.
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode. It is further restricted to the login 
host (i.e., the specific machine you are logged onto). This command requires access to the local file 
system.
Batch Command: This command does not support a batch format.
Example
mail3.example.com> who
Username  Login Time  Idle Time  Remote Host  What
========  ==========  =========  ===========  ====
admin     03:27PM     0s         10.1.3.201   cli
whoami
Description
The 
whoami
 command displays the username and full name of the user currently logged in, and which 
groups the user belongs to.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format.
Example
mail3.example.com> whoami
Username: admin