/var/run/utmp, /var/log/wtmp, /var/log/btmp, and /var/log/lastlog.who command to view information about currently logged-in users via /var/run/utmp. The returned result is shown in the following figure:
w command to view the usernames of currently logged-in users and display the tasks they are currently executing via /var/run/utmp. The returned result is shown in the following figure:
users command to view the usernames of currently logged-in users via /var/run/utmp. The returned result is shown in the following figure:
last command to view information about users who are currently logged in or have previously logged in to the system via /var/log/wtmp. The returned result is shown in the following figure:
sudo lastb command to view information about all users who failed to log in to the system via /var/log/btmp. The returned result is shown in the following figure:
lastlog command to view information about a user's last login via /var/log/lastlog. The returned result is shown in the following figure:
sudo cat /var/log/secure command to view login information. The returned result is shown in the following figure:



피드백