Question: The UNIX set-user-id bit allows users to run an executable program with the permissions of the executable's owner. It is often used to allow
The UNIX set-user-id bit allows users to run an executable program with the permissions of the executable's owner. It is often used to allow ordinary users on a UNIX system to run programs with temporarily elevated privileges to perform a specific task, such as changing their login password, which requires accessing the /etc/shadow file which only the root user can read. A UNIX administrator must control all set-user-id programs. Which of the following command lines could be used to display a list of all such programs? find / -type 1 -perm +4000 -exec 13 -1 {} \; find / -type f -perm +2000 -exec 13 -1 {} \; find / -type f -perm +4000 -exec 13 -1 {} \; find / -type d -perm +4000 -exec ls -1 {} \; find / -type f -perm +3000 -exec ls -1 {} \;
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below The correct command line to display a l... View full answer
Get step-by-step solutions from verified subject matter experts
