Re: How to enable setuid scripts in Linux?



bianying@xxxxxxxxx wrote in
news:1151397533.152658.284240@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

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) )
.



Relevant Pages

  • Re: How to enable setuid scripts in Linux?
    ... to Linux, because Linux ... disables setuid scripts on purpose but all my scripts rely on this ... Poor security practices on your part can cause problems for ... If you get in bad habits and don't learn the correct ...
    (comp.os.linux.setup)
  • How to enable setuid scripts in Linux?
    ... to Linux, because Linux ... disables setuid scripts on purpose but all my scripts rely on this ...
    (comp.os.linux.setup)
  • Re: How to enable setuid scripts in Linux?
    ... to Linux, because Linux ... disables setuid scripts on purpose ... the Linux kernel ignores SUID and SGID scripts. ...
    (comp.os.linux.setup)
  • Re: How to enable setuid scripts in Linux?
    ... I am having trouble to port some scripts from Solaris ... to Linux, because Linux ... disables setuid scripts on purpose but all my scripts rely on this ...
    (comp.os.linux.setup)