I'm having trouble finding out how setuid works. I was under the impression 
that if you set the setuid bit with `chmod +s prog` that when the program 
was run it would run with the permissions of its owner, instead of the 
user running the program. So the effective UID gets set to the owner of 
the file, while the actual UID is the user running the program. Is this 
right or do I have something wrong?

I ask because I have a perl script which I would like to be run as a 
different user, no matter who runs it. Is there something different with 
perl since the interpreter is in there somewhere?

Spencer
_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://www.utacm.org/mailman/listinfo/siglinux

Reply via email to