Karl-Heinz Herrmann <[EMAIL PROTECTED]> wrote:

> The only way I know is a little program. Since you can't make a
> shell-script suid root and if you don't want to write in C this might
> help:
>
> http://www.comeaucomputing.com/faqs/ccshfaq.html

Suid shell scripts work since approx. 25 years.

The problem if course is security.......

Since 1990, /bin/sh will revert to euid==uid in case euid!=uid
except when you use:

#!/bin/sh -p

inside the script.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]        (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to