[NTLUG:Discuss] SETUID on Shell Scripts Question
Brian
briank at hex.net
Mon Apr 3 10:43:06 CDT 2000
Bug Hunter wrote:
>
> You have to do the suid on the program that execute, not just the shell
> script. I would run the script as root using a cron job, making it
> readable and executable for root only.
But I believe the newer kernels still won't allow a suid shell to be run
by a non-root user with an effective UID of root, regardless of the
program permissions being run by the script.
This functionality can be disabled in the kernel, if you really have to
run suid scripts.
--Brian
More information about the Discuss
mailing list