---------- On Tue, 22 May 2001, you wrote ----------
> 
> No. that is not correct. Just setting the group +s does not make the
> script run as root.
> 
> From the Secure Programming for Linux and Unix HOWTO
> <snip>
> Many Unix-like systems, in particular Linux, simply ignore the setuid and
> setgid bits on scripts to avoid the race condition
> described earlier.....
> </snip>
> 
> For a script to run as root, the file has to be owned by root and must be
> setuid.
>
> And as per above snippet that might not happen for scripts!

... Does this apply only to scripts or is it even so for executable binaries ? 
Thanks.

-- Siddharth.

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to