TestOut Linux Pro Practice Test 2025 - Free Linux Pro Practice Questions and Study Guide

Question: 1 / 400

What file contains user account information in Linux?

/etc/users

/etc/passwd

The file that contains user account information in Linux is /etc/passwd. This file is essential for the functioning of the system as it stores important details about each user account, including their username, user ID (UID), group ID (GID), home directory, and the default shell.

In /etc/passwd, each line corresponds to a different user account and follows a specific format, allowing the system to authenticate users and manage their access to resources effectively. The presence of information such as the user's home directory and their default shell ensures that when a user logs in, they are placed in the correct environment.

Other options do not serve the same purpose. For instance, /etc/users is not a standard file in Linux systems, and /etc/group contains group account information rather than user account details. /etc/accounts is also not a recognized file for user management in a typical Linux configuration. Thus, the /etc/passwd file is the definitive source for user account information in Linux systems.

Get further explanation with Examzify DeepDiveBeta

/etc/group

/etc/accounts

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy