B.14. Lab B.14: View all Linux Logins

This lab requires a Linux workstation.

The lastlog utility can be used to generate a list of every user account and the last time they logged in to the system. Unfortunately, it lists the account even if the user associated with it has never logged in.

In this exercise, you'll get a list of user accounts and then remove all the entries that have never logged in so that you are left with only accounts that have actually accessed the workstation:

  1. As root, from the desktop, choose Programs Accessories Terminal. ...

Get CompTIA Security+™ Deluxe: Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.