Re: How to enable setuid scripts in Linux?
<bianying@gmail.com> wrote in message
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!
Heh. Heh-heh-heh-heh. I'm sorry for your need to do the work, but honestly,
you get what you deserve for doing that.
> I understand that there are security holes with setuid scripts, but
> that is not my concern.
See above.
> I wonder, is there any way to enable the setuid scripts? Can I do it by
> re-compiling the kernel, turning some flag on?
Conceivable. I've never even considered it, but you're welcome to go looking
for it. Like trying to drive without brake lights, it just seems so
hazardous that few people will encourage you to do it.
You should b e able use "sudo" to allow any or all users to execute those
scripts as root, instead of making them suid. |