On Wed, Mar 03, 1999 at 06:07:55PM -0600, S P Arif Sahari Wibowo wrote:
> 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
Have you tried it from the shell?
Greetz, Peter.
--
.| Peter van Dijk | <mo|VERWEG> stoned worden of coden
.| [EMAIL PROTECTED] | <mo|VERWEG> dat is de levensvraag
| <mo|VERWEG> coden of stoned worden
| <mo|VERWEG> stonend worden En coden
| <mo|VERWEG> hmm
| <mo|VERWEG> dan maar stoned worden en slashdot lezen:)