102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 116


Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

Show Answer
Correct Answer: E

In the password field of /etc/passwd, the character 'x' is used to indicate that the encrypted password is stored in /etc/shadow. This is a standard practice in Linux systems to enhance security by separating the encrypted passwords from the general user account information.

Discussion

3 comments
Sign in to comment
drliu1202Option: E
Aug 12, 2022

"an x if shadow passwords are used)." https://learning.lpi.org/en/learning-materials/010-160/5/5.2/5.2_01/#:~:text=encrypted%20password%20(or-,an%20x%20if%20shadow%20passwords%20are%20used).,-User%20ID%20(UID

CuriousLinuxCatOption: E
Aug 8, 2021

E is correct. From man pages passwd(5): "If the password field is a lower-case "x", then the encrypted password is actually stored in the shadow(5) file instead; there MUST be a corresponding line in the /etc/shadow file..."

LazylinuxOption: E
Apr 23, 2022

CAT the file yourself and you will get E