![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
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 |
View all MCQs in
Linux Operating SystemNo comments yet