Re: setuid problems

1998-06-25 Thread David Z. Maze
Oskar Liljeblad <[EMAIL PROTECTED]> writes: OL> Aren't setuid shell scripts supposed to be executed with EUID=1? OL> They aren't on my system. I can't see what's wrong here... setuid-root (and probably setuid-anything) scripts run with the uid of the caller; they ignore the setuid bit. OL> Some

setuid problems

1998-06-25 Thread Oskar Liljeblad
Aren't setuid shell scripts supposed to be executed with EUID=1? They aren't on my system. I can't see what's wrong here... oskar:~$ id uid=1000(usel) gid=1000(usel) groups=1000(usel) oskar:~$ cat /usr/local/bin/suidtest #!/bin/sh echo uid=$UID euid=$EUID oskar:~$ ls -l /usr/local/bin/suidtest -rw