Description
This article is from the the Brief
Linux FAQ (BLFAQ) Maintained by Neil Zanella
nzanella@ganymede.cs.mun.ca
027. I've tried to create a shell script and made it setuid root so the users can execute it. But no matter what I do, it doesn't execute with root privilege. Why?
Shell scripts are a notorious security hole. To protect you, the kernel
purposely ignores setuid and setgid in scripts. Create a C or Pearl
program to do the task.
 
Continue to:
Share and Enjoy
Bookmark this story so others can enjoy it:
Tags
linux, os, faq