[rt-users] Can't do setuid
Adrian Chadd
adrian at creative.net.au
Mon Nov 18 05:49:41 EST 2002
On Tuesday, October 22, 2002, at 09:12 AM, Patrick Fish wrote:
> I got my permissions fixed, but I'm using FreeBSD, and theres no
> perl-suidperl (or perl-suid, etc) package. However, there is
> "/usr/local/bin/suidperl"...
>
>
Under FreeBSD the default system suidperl is without the suid bit.
adrian at ewok:~> ls -l /usr/bin/suidperl
-r-x--x--x 3 root wheel 50784 Nov 16 08:00 /usr/bin/suidperl
So, I'm guessing its the same for the port. Are you using the system
perl or
the port perl? (There's a magic program that you can run to symlink
/usr/bin/perl|suidperl to /usr/local/bin/, making stuff work without
too much fudging.
Installing the port will tell you what it is.)
chmod 4711 /usr/bin/suidperl or /usr/local/bin/suidperl might do what
you want.
Adrian
> -p
>
> ----- Original Message -----
> From: "Forrest Stanley" <fstanley at netburner.com>
> To: <rt-users at lists.fsck.com>
> Sent: Monday, October 21, 2002 11:55 AM
> Subject: Re: [rt-users] Can't do setuid
>
>
>> At 11:41 AM 10/21/2002 -0700, Patrick O. Fish wrote:
>>> Finally finished the install and got it set up, the Web UI works
>>> fine, I
>>> just have one more problem...
>>>
>>>
>>> ----- The following addresses had permanent fatal errors -----
>>> "|/usr/local/rt2/bin/rt-mailgate --queue support --action correspond"
>>> (reason: 255)
>>> (expanded from:
>>> <<mailto:support at pwhsnet.com>support at pwhsnet.com>)
>>>
>>> ----- Transcript of session follows -----
>>> Can't do setuid
>>> 554 5.3.0 unknown mailer error 255
>>>
>>>
>>> -rw-r-xr-x 1 root rt 9134 Oct 21 01:48
>>> /usr/local/rt2/bin/rt-mailgate
>>> -rwxr-xr-x 1 root rt 4748 Oct 21 01:48
>>> /usr/local/rt2/bin/webmux.pl
>>>
>>
>>
>> My rt-mailgate has same permissions as everything else in that folder:
>> -rwxr-sr-x 1 root rt 5551 Oct 11 10:24
>> mason_handler.fcgi
>> -rwxr-sr-x 1 root rt 4639 Oct 11 10:24
>> mason_handler.scgi
>> -rwxr-sr-x 1 root rt 31398 Oct 11 10:24 rt
>> -rwxr-sr-x 1 root rt 23829 Oct 11 10:24 rtadmin
>> -rwxr-sr-x 1 root rt 9128 Oct 11 10:24 rt-mailgate
>> -rwxr-xr-x 1 root rt 4736 Oct 11 10:24 webmux.pl
>>
>> Also check here:
>>
>> http://lists.fsck.com/pipermail/rt-users/2002-June/008641.html
>>
>>
>>
>>
>>> My /etc/aliases is:
>>> support: "|/usr/local/rt2/bin/rt-mailgate --queue support --action
> correspond"
>>> support-comment: "|/usr/local/rt2/bin/rt-mailgate --queue
> support --action
>>> comment"
>>>
>>>
>>> Thanks,
>>> Patrick Fish
>>
>> _______________________________________________
>> rt-users mailing list
>> rt-users at lists.fsck.com
>> http://lists.fsck.com/mailman/listinfo/rt-users
>>
>> Have you read the FAQ? The RT FAQ Manager lives at
>> http://fsck.com/rtfm
>>
>>
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
More information about the rt-users
mailing list