Q.

You have written a shell script that must be run as root in order to work properly. What is the most secure way to give a normal user the ability to run this program?

A. Set permissions to 777 on the script
B. Make the user a member of the root group
C. Make the user the owner of the script
D. Set the SUID bit on the script
Answer» A. Set permissions to 777 on the script
604
0
Do you find this helpful?
1

View all MCQs in

Linux Operating System

Discussion

No comments yet