Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
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.
"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
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..."
CAT the file yourself and you will get E