1 |
On Mon, 20 Nov 2006, Flophouse Joe wrote: |
2 |
> If you really needed to run a shell script as root, you could try using |
3 |
> djb's "envuidgid" [1] available in Gentoo package |
4 |
> sys-process/daemontools . |
5 |
|
6 |
I spoke too soon. Corrections: |
7 |
|
8 |
(1) It's actually setuidgid that I was thinking of: |
9 |
http://cr.yp.to/daemontools/setuidgid.html |
10 |
|
11 |
(2) Quoting from the above URL, "setuidgid cannot be run by anyone other than root". If you need to be root to run the utility in the first place, then there's no point in using it to gain root priveleges. |
12 |
|
13 |
Joe |
14 |
-- |
15 |
gentoo-user@g.o mailing list |