Cisco Cisco Email Security Appliance C650 Referencia técnica
W H O A M I
C H A P T E R 3 : T H E C O M M A N D S : R E F E R E N C E E X A M P L E S
293
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.
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
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).
machine).
Batch Command: This command does not support a batch format.
Example
Code Example 3-163
who
mail3.example.com> who
Username Login Time Idle Time Remote Host What
======== ========== ========= =========== ====
admin 03:27PM 0s 10.1.3.201 cli
Code Example 3-164
whoami
mail3.example.com> whoami
Username: admin
Full Name: Administrator
Groups: admin, operators, config, log, guest