What information is stored in /etc/passwd? (Choose three.)

Prepare for the LPI Linux Essentials 010-160 Test with our comprehensive quiz platform offering flashcards and multiple choice questions. Hints and explanations provided for each question. Get exam-ready with ease!

The file /etc/passwd is a fundamental component of Unix and Linux systems that contains essential information about user accounts. It plays a crucial role in managing user access and maintaining system integrity.

One of the primary pieces of information stored in /etc/passwd is the numbered user ID (UID). The UID uniquely identifies each user on the system and is essential for permissions and access control. This UID allows the system to distinguish between different users and determine what files they can access and what actions they can perform.

In addition to the UID, /etc/passwd contains the username. This human-readable identifier allows users and system administrators to recognize accounts across the system easily. The combination of the username and the UID is fundamental for granting effective user authentication and authorization processes.

While /etc/passwd used to store encrypted passwords in older systems, many modern Linux distributions now shift this sensitive information to a separate file, usually /etc/shadow. This enhancement improves security by restricting access to password hashes and requiring elevated permissions to view them.

Therefore, the correct details stored in /etc/passwd include the username and the numbered user ID, which are vital for user account management in Unix and Linux environments.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy