On Sun, Jul 30, 2000 at 19:25 -0700, Jason P. Stanford wrote:
I have a small server up and running with SuSE 6.4. I wrote a Perl script that needs to be run suid in /usr/local/bin by a ^^^^^^ ^^^^ few trusted users, but I keep getting the following error:
trusted@foo> /usr/local/bin/foobar.pl Can't do setuid
Probably because it runs as a "normal" user (or strictly speaking under the normal user's uid). This is a FAQ, you can find a few thousand articles about it in the UNIX forums' archives. Scripts don't care about the setuid bit, their interpreters should run privileged. Or use a (binary) setuid wrapper. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.