What information is stored in /etc/passwd? (Choose three.)
What information is stored in /etc/passwd? (Choose three.)
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).
Correct answers: B. The numerical user ID C. The username E. The user\s default shell
The encripted password is stored in shadow file
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.
@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
B. The numerical user ID C. The username E. The user\s default shell
Correct answers: B. The numerical user ID C. The username E. The user\s default shell
B. The numerical user ID C. The username E. The user\s default shell
B. The numerical user ID C. The username E. The user\s default shell
"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.
This was on my exam. I chose B,C, and E and scored 100%
Correct answers are CBE
Incorrect. Password saved in shadow file.
Shadow file contains password, not passwd. It stores their shell, e.
Correct answers: B. The numerical user ID C. The username E. The user\s default shell
The encripted password is stored in shadow file (/etc/shadow).
Answer is B,C,E.
B. The numerical user ID C. The username E. The user\s default shell