Which of the following files contains user account information on a Linux system?

Prepare for the LPI Linux Essentials 010-160 Test. Study with flashcards and multiple choice questions, each question offers hints and explanations. Get ready to ace your exam!

The correct choice, which is /etc/passwd, is crucial because this file stores essential information about user accounts on a Linux system. It contains details for each user, such as the username, user ID (UID), group ID (GID), home directory, and the default shell. This format allows the system to authenticate users and configure their environments upon login.

The path to this file is significant; it adheres to Unix conventions, making it universally recognized across various Linux distributions. While it is often mistakenly referred to as "/etc/password," the correct filename is "/etc/passwd," which is a traditional name derived from its original purpose of storing user account information in a simple text format.

The other choices do not correspond to valid or standard files for user account information in Linux systems. /etc/user and /etc/accounts are not standard files and do not exist in typical Linux distributions. Recognizing the correct filename is essential for understanding user management and authentication processes on Linux systems.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy