Home / Report Question

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?
  • A. Changing password fails because the user is not allowed to update the /etc/passwd file
  • B. Changing password successfully because the program runs as root
  • C. The program that change password runs in kernel mode where it’s possible to write in /etc/passwd file
  • D. /etc/passwd is a special file and the default system allows all users to update it