[TriLUG] SUID question

Jeremy Portzer jeremyp at pobox.com
Thu Sep 12 16:52:32 EDT 2002


On Thu, 12 Sep 2002, Richard O. Hammer wrote:

> I seem to be missing something basic about the way SUID
> works.  I can't give my ordinary users the powers of root in
> executable files.
[...] 
> What am I overlooking?
> 

As Adrian already replied, you can't have suid shell scripts in Linux.  
You can write suid Perl scripts through a special mode in Perl, although 
I'm not sure exactly how that works.

You could also use "sudo" to allow users to run specified commands as 
root.

Hope this helps,
Jeremy




More information about the TriLUG mailing list