On 12/1/05, S. Anthony Sequeira <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-12-01 at 09:52 +0100, Luca Dionisi wrote:
> > That is: I've got a setuid-root bash script. It prints out the
> > effective
> > and real uid.
> > But when I run it, I won't have root privileges... Why?!?
>
> A security feature.  Check out Google.
>

Thanks. I found a good explanation [1]. Now I understand the issue.

I was trying to make a wrapper exactly because of my misunderstanding
of setuid shell scripts.

It'd be long to explain... anyway now I agree with you to
follow the original solution.

Luca

[1] http://lists.debian.org/debian-mentors/2004/05/msg00279.html
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to