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? (Solved)

1. Set permissions to 777 on the script

2. Make the user a member of the root group

3. Make the user the owner of the script

4. Set the SUID bit on the script

  • a. Set permissions to 777 on the script
Subscribe Now

Get All Updates & News