A
Q. The output of ls -l for /etc/passwd and /usr/bin/passwd is as follows?
If a user not belonging to the “root” group and executes the passwd command to try to change his password, which of the following is true?
Code:
$ ls -l /etc/passwd
-rw-rw-r-- 1 root root 1107 Juin 01 01:55 /etc/passwd
$ ls -l /usr/bin/passwd
-r-s—x—x 1 root root 23395 May 12 01:24 /usr/bin/passwd
-rw-rw-r-- 1 root root 1107 Juin 01 01:55 /etc/passwd
$ ls -l /usr/bin/passwd
-r-s—x—x 1 root root 23395 May 12 01:24 /usr/bin/passwd
- Correct Answer - Option(B)
- Views: 9
- Filed under category Linux
- Hashtags:
Discusssion
Login to discuss.