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 -rwsrwxr-x 1 root root 35 Jun 25 12:31 /usr/local/bin/suidtest* oskar:~$ /usr/local/bin/suidtest uid=1000 euid=1000 oskar:~$ Some users should be able to mount two specific DOS hdd drives, and the same users should also be able to call shutdown -r/-h now. I can't see any other way to do it. Oskar Liljeblad ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]