108k views
4 votes
Which of the following files contains hashes of user passwords on the most modern Linux distributions? A. /etc/passwd B. /etc/shadow C. /etc/group D. /etc/security

User Eskatos
by
6.7k points

1 Answer

2 votes

Final Answer:

The file that contains hashes of user passwords on the most modern Linux distributions is B. / etc / shadow.

Step-by-step explanation:

In Linux, user account information, including password hashes, is traditionally stored in the "/ etc / passwd" file. However, for security reasons, modern Linux distributions have shifted the storage of password hashes to the "/ etc / shadow" file. This file is only readable by privileged users (e.g., the root user), enhancing the security of sensitive authentication information.

The "/ etc / group" file contains information about user groups, and "/ etc / security" is a directory that may contain security-related configurations but does not specifically store password hashes.

Option: B. / etc / shadow is answer.

User MrSpaar
by
7.1k points