LPI Linux Essentials (D281 and C851) Practice Exam

Session length

1 / 20

What is indicated by the output of the `passwd -S` command?

The user’s last login time

The current status of the user account

The `passwd -S` command is used to display the status of a user account in terms of its password information. When executed, it provides insights such as whether the password is set, whether the account is locked, and the date of the last password change. This command is particularly useful for checking the current state of user accounts in the system, making it a crucial tool for system administrators managing user access and security.

The output includes vital information about the password's status, which is why option B accurately reflects the command's purpose. Understanding this command is essential for maintaining the security and administration of user accounts in a Linux environment.

System uptime and load average

Groups to which the user belongs

Next Question
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy