LPI Linux Essentials (D281 and C851) Practice Exam

Session length

1 / 20

Where is user account information stored in a Linux system?

/etc/group

/etc/shadow

/etc/passwd

User account information in a Linux system is primarily stored in the /etc/passwd file. This file contains essential details about each user account, including the username, user ID (UID), group ID (GID), user information (full name or comment), home directory, and the default shell that the user will use upon login. Each entry in the /etc/passwd file is structured in a specific format, making it easy for the system to read and process this information when user accounts are accessed.

While /etc/shadow holds encrypted passwords and related account information for security purposes, and /etc/group contains group membership information, the /etc/passwd file is the foundational file that outlines the core details of user accounts. Meanwhile, /var/log/auth.log is used to track authentication events and logging information but does not store user account details.

Having a proper understanding of these files is crucial for system administration, as they play different roles in user account management and system security. The structure and permissions of these files are also important for ensuring that user data is protected from unauthorized access.

/var/log/auth.log

Next question

Find the option that is right for you!

All options are one-time payments.

$25.99

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
👑$59.99 $171.99 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $171.99 usd value for $59.99! You save $106!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$15.99 $24.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy