Which of the following files has the correct permissions?
A.
-rw–w–w- 1 root root 369 Dec 22 22:38 /etc/shadow
B.
-rwxrw-rw- 1 root root 369 Dec 22 22:38 /etc/shadow
C.
-rw-r–r– 1 root root 369 Dec 22 22:38 /etc/shadow
D.
-rw——- 1 root root 369 Dec 22 22:38 /etc/shadow
Explanation:
From the man pages:
shadow is a file which contains the password information for the systems accounts and optional aging information. This file must not be readable by regular users if password security is to be maintained.