Accounting Utilities Linux

Connect Accounting Utilities

Here is a list of commands you can use to get data about user logins:

who         Shows a listing of currently logged-in users.
w           Shows who is logged on and what they are doing.
last        Shows a list of last logged-in users, including login time, logout time, login IP address, etc.
lastb       Same as last, except that by default it shows a log of the file /var/log/btmp, which contains all the bad login attempts.
lastlog     This command reports data maintained in /var/log/lastlog, which is a record of the last time a user logged in.
ac          Prints out the connect time in hours on a per-user basis or daily basis etc. This command reads /var/log/wtmp.
dump-utmp   Converts raw data from /var/run/utmp or /var/log/wtmp into ASCII-parsable format.

0 pensamientos:

Post a Comment