Services and User Management

During a security audit, an administrator must produce a report showing each account's most recent login, including accounts that have never logged in. Which command produces this report?

Show the answer

Correct answerC. lastlog

lastlog reads the lastlog database and prints one line per account, marking accounts that have never logged in. last is tempting but reads the wtmp login history, so it lists only recorded sessions and omits accounts that never logged in.