In Linux, what does a password field value of 'x' in /etc/passwd indicate?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

In Linux, what does a password field value of 'x' in /etc/passwd indicate?

Explanation:
In Linux, password hashes are stored in a separate file called /etc/shadow, while /etc/passwd remains readable by all users. Seeing a placeholder like 'x' in the password field of /etc/passwd indicates that the actual password hash is kept in /etc/shadow. This separation enhances security by restricting access to the hashes. The other locations mentioned aren’t used for storing password hashes on standard systems (shadow is the correct place, while /var/log is for logs and /etc/security isn’t the hash store).

In Linux, password hashes are stored in a separate file called /etc/shadow, while /etc/passwd remains readable by all users. Seeing a placeholder like 'x' in the password field of /etc/passwd indicates that the actual password hash is kept in /etc/shadow. This separation enhances security by restricting access to the hashes. The other locations mentioned aren’t used for storing password hashes on standard systems (shadow is the correct place, while /var/log is for logs and /etc/security isn’t the hash store).

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy