[lkml]   [1996]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /proc/<pid>/mem unreadable
In article <>,
Albert Cahalan <> wrote:
>> > What about suid scripts?
>> >
>> suid scripts are not allowed, the setuid bit is ignored for scripts.
>Of course, because that is an easy way to plug a security hole.
>I was thinking that it would be good to add all the checks to
>let suid scripts run in a secure manner. I think it would involve

You can easily do this in user space, with a suid root program called
for example /sbin/suidexec. I have written such a thingy. Perl does
it in the same way (suidperl). Just start your script with "#!/bin/suidexec"
et voila.

Miquel van | Cistron Internet Services -- Alphen aan den Rijn.
Smoorenburg, | | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)

 \ /
  Last update: 2005-03-22 13:37    [W:0.046 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site