TestOut Linux Pro Practice Test 2025 – All-in-One Guide to Master Your Certification!

Image Description

Question: 1 / 400

What does a '!' indicate in the /etc/shadow file?

The account is locked

In the /etc/shadow file, the presence of a '!' (exclamation mark) at the beginning of the password field indicates that the account is locked. When an account is locked, the user is prevented from logging in, as the system treats the '!' as a marker that disables authentication with the password stored in that field. This is a common security measure to prevent unauthorized access when an account is temporarily inaccessible or needs to be restricted for some reason, such as a security concern or administrative action.

The use of '!' specifically modifies how the password is processed by the system. If a user attempts to log in when their account is locked, the system will not allow authentication or access as it recognizes there is no valid password to check against. This locking mechanism provides administrators a way to manage user access without deleting the account, which allows for a potentially easier re-enabling process in the future.

Get further explanation with Examzify DeepDiveBeta

The password is expired

The user is disabled

The account is active

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy