010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 15


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

Show Answer
Correct Answer: BCE

The /etc/passwd file in Linux systems stores several pieces of information about users. It includes the numerical user ID (UID) which is crucial for system processes to identify and set permissions for the user. The username, which is the name chosen by the user for login purposes, is also stored. Additionally, the user's default shell, which is the command line interface that is launched by default for the user, is recorded in this file. This file historically used to store encrypted passwords, but for security reasons, this information has been moved to the shadow file (/etc/shadow).

Discussion

17 comments
Sign in to comment
DjerodOptions: BCE
Jul 27, 2020

Correct answers: B. The numerical user ID C. The username E. The user\s default shell

oe_albornoz
Jul 18, 2020

The encripted password is stored in shadow file

User8675309Options: BCE
May 1, 2022

All of the Linux distributions stores user information in a central file named /etc/passwd. The /etc/passwd file is a simple text based flat database which contains the current Linux system users with information like user name, user ID, default shell etc. Decades ago the /etc/passwd was also containing the user password hashes but because of the security reasons the password hashes moved into the file named /etc/shadow.

shoshaOptions: BCE
Jan 16, 2022

@Djerod @oe_albornoz Correct answers: B. The numerical user ID C. The username E. The user\s default shell The encripted password is stored in shadow file

stressedout7Options: BCE
Mar 4, 2022

B. The numerical user ID C. The username E. The user\s default shell

MiragicoOptions: BCE
Mar 5, 2022

Correct answers: B. The numerical user ID C. The username E. The user\s default shell

Aamm033Options: BCE
Apr 11, 2022

B. The numerical user ID C. The username E. The user\s default shell

shimij1000Options: BCE
Nov 1, 2022

B. The numerical user ID C. The username E. The user\s default shell

james2033Options: BCE
Aug 5, 2023

"How are Linux passwords stored? All modern Linux operating systems use the /etc/shadow file to store user passwords in an encrypted hashed format. Only root users or commands with suid bit can access the /etc/shadow file. All other user information, such as user names, home directory, and default shell, is stored in the /etc/passwd file." (Google Search) Source https://www.cyberciti.biz/faq/where-are-the-passwords-of-the-users-located-in-linux/#:~:text=All%20modern%20Linux%20operating,the%20%2Fetc%2Fpasswd%20file.

lexohOptions: BCE
Aug 14, 2021

This was on my exam. I chose B,C, and E and scored 100%

MisterK3Options: BCE
Nov 23, 2021

Correct answers are CBE

Funkslinger
Jan 11, 2022

Incorrect. Password saved in shadow file.

FunkslingerOptions: BCE
Jan 11, 2022

Shadow file contains password, not passwd. It stores their shell, e.

SimonMarbOptions: BCE
Jul 27, 2022

Correct answers: B. The numerical user ID C. The username E. The user\s default shell

linvidiaOptions: BCE
Oct 26, 2022

The encripted password is stored in shadow file (/etc/shadow).

BarrinhasOptions: BCE
Nov 24, 2022

Answer is B,C,E.

VovanichOptions: BCE
Dec 20, 2022

B. The numerical user ID C. The username E. The user\s default shell