Hi!

I have a perl script which is using setuid, which should work since perl 5
support setuid.

However, if the script invoked from an qmail alias, the setuid didn't
work. That is, if an .qmail-.. file from alias directory invokes a perl
script owned by a particular user with setuid bit set, the script still
run under the alias uid ($> will return the alias uid).

Is this a bug, a feature, or I just lack something here?

BTW, here is the script I used to tested it:

#!/usr/bin/perl -wT

print "Running as UID $> GID $) \n";

exit 100


Thank you.

                                  S. P. Arif Sahari Wibowo
  _____  _____  _____  _____          [EMAIL PROTECTED] 
 /____  /____/ /____/ /____  http://www.uiuc.edu/ph/www/arifsaha
_____/ /      /    / _____/

Reply via email to