View Single Post

   
  #5 (permalink)  
Old 01-18-2008, 07:08 PM
chuckcar
 
Posts: n/a
Default Re: How to enable setuid scripts in Linux?

bianying@gmail.com wrote in
news:1151397533.152658.284240@x69g2000cwx.googlegr oups.com:

> All,
>
> I am having trouble to port some scripts (written in ksh) from Solaris
> to Linux, because Linux
> disables setuid scripts on purpose but all my scripts rely on this
> feature!
>
> I understand that there are security holes with setuid scripts, but
> that is not my concern.
>
> I wonder, is there any way to enable the setuid scripts? Can I do it
> by re-compiling the kernel, turning some flag on?
>
> --
> B.Y.
>


You generally turn the group/user execute bit on along with chowning it
to that user/group. If you don't know what chown and chmod are, then you
are in over your head and need to read the manual pages for both.

--
(setq (chuck nil) car(chuck) )
Reply With Quote