Technical References

3-292
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
Chapter 3 The Commands: Reference Examples
User Management
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command is restricted to cluster mode.
Note The passwd command is a special case because it needs to be usable by guest users who can only ever
be in machine mode. If a guest user issues the passwd command on a machine in a cluster, it will not
print the warning message but will instead just silently operate on the cluster level data without changing
the user's mode. All other users will get the above written behavior (consistent with the other restricted
configuration commands).
Batch Command: This command does not support a batch format.
Example
mail3.example.com> password
Old password: your_old_password
New password: your_new_password
Retype new password: your_new_password
Password changed.
last
Description
The last command displays who has recently logged into the system. By default, it shows all users who
have logged into the system
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format.
Example
elroy.run> last
Username Remote Host Login Time Logout Time Total Time
======== ============= ================ ================ ==========
admin 10.251.23.186 Thu Sep 01 09:14 still logged in 1h 5m
admin 10.251.23.186 Wed Aug 31 14:00 Wed Aug 31 14:01 1m
admin 10.251.16.231 Wed Aug 31 13:36 Wed Aug 31 13:37 0m
admin 10.251.23.186 Wed Aug 31 13:34 Wed Aug 31 13:35 0m
admin 10.251.23.142 Wed Aug 31 11:26 Wed Aug 31 11:38 11m
admin 10.251.23.142 Wed Aug 31 11:05 Wed Aug 31 11:09 4m
admin 10.251.23.142 Wed Aug 31 10:52 Wed Aug 31 10:53 1m