TestOut Linux Pro 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 400

What is the purpose of the /etc/shadow file in Linux?

To store user settings

To store secure user password hashes

The /etc/shadow file in Linux is specifically designed to store secure user password hashes. This file enhances security by keeping the password hashes separate from user account information found in the /etc/passwd file. Each entry in the /etc/shadow file includes the username along with the hashed password, which is crucial for authenticating users without exposing their actual passwords.

In addition to storing hashes, the /etc/shadow file can also contain information regarding password expiration and restrictions, such as the minimum and maximum age of passwords, adding to the overall security of user accounts. This structure allows for more secure management of user passwords compared to systems where hashes might be stored in publicly readable files.

The other options pertain to different aspects of system configuration and management, such as user settings, system logs, and network settings, which are not related to the primary function of the /etc/shadow file.

Get further explanation with Examzify DeepDiveBeta

To manage system logs

To configure network settings

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy