Re: mount question
Karl-Heinz Herrmann <kh1dump@khherrmann.de> 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:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
Reply to: