πŸ“Š Linux
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Set permissions to 777 on the script

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
95
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
84%
Success Rate