Monday, February 1, 2021

lslogins command within Linux

The lslogins command returns details for user accounts.  The command will display information on all accounts including service accounts by default.  To only view user accounts, use the -u switch.


To view details for a particular user account, use the user name.


Use the switch -uf to view failed logins.


Use the -ua switch to view password expiration details.









No comments:

Post a Comment

Note: Only a member of this blog may post a comment.