suid-bit

Adrian Ho aho-lfs-discuss at 03s.net
Sun Jul 15 08:08:16 PDT 2001


On Sun, Jul 15, 2001 at 04:29:37PM +0200, Jean-Pierre Schwickerath wrote:
> I've not been using much suid stuff but as far as I remember this is ok,
> 'cause I don't want to suid-root the rm binary, that's not secure ;-)
> Does Someone have a hint why it doesn't work?

Setuid shell scripts are not supported, period.  Try making the following
script setuid and running it, if you're not convinced:

#!/bin/sh
/usr/bin/id

- Adrian
-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the lfs-dev mailing list