Three patches and comments

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@pwhsnet.comsupport@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

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”…

-p

From: “Forrest Stanley” fstanley@netburner.com
To: rt-users@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@pwhsnet.comsupport@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

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”…
:

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I’m pretty sure I included this in the RT docs, including the FreeBSD
case. Would you mind checking with RTFM to see if I’ve missed anything
that you had to fix?

Thanks,

Dan Shearer
Open Source Manager
Mob: +61 411 49 1800
Tel: +61 8 8130 3104
dan@tellurian.com.au

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”…

-pFrom: “Forrest Stanley” fstanley@netburner.com
To: rt-users@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@pwhsnet.comsupport@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@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

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@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

“PF” == Patrick Fish patrickf@linkline.com writes:

PF> I got my permissions fixed, but I’m using FreeBSD, and theres no
PF> perl-suidperl (or perl-suid, etc) package. However, there is
PF> “/usr/local/bin/suidperl”…

By default, suidperl is installed, but without the setuid permissions
assigned to it. But it seems you’re using a non-default perl, as it
is in /usr/local/bin not /usr/bin, so you should be good to go.

Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/