If a user, not belonging to the group ‘root’, runs the passwd executable in an attempt to modify his password, then which of the following is true?
A. password change fails since user does not have permission to update /etc/passwd file
B. password change is successful because the program runs as root
C. passwd change program runs in kernel mode where write access to the /etc/passwd file is possible
D. /etc/passwd is a special file and the system by default allows all users to update it
Answer:A
If a user, not belonging to the group ‘root’, runs the passwd executable in an attempt to modify his password, then which of the following is true?
A. password change fails since user does not have permission to update /etc/passwd file B. password change is successful because the program runs as root C. passwd change program runs in kernel mode where write access to the /etc/passwd file is possible D. /etc/passwd is a special file and the system by default allows all users to update it