How to enable suid perl in SUSE?

24/09/2008 - 10:03 von newton | Report spam
Hi,

excuse me by write in poor english, I don't know your language. I hope
you can help me.

I'm trying run qmail-scanner, an script wich require suid perl enable.
I'm getting this message by configure script:

(...)
Testing suid nature of /usr/bin/perl...
Whoa - broken perl install found.
Cannot even run a simple script setuid

You will either have to correct this
or use the C-wrapper within the ./contrib dir
(...)

The FAQ say:
-
"# Can't do suid: some perl distributions have decided that as running
suid perl scripts is a rare event, they won't install/enable it by
default. On these systems this package won't work. Typically the fix
is:

chown root /usr/bin/suidperl
chmod 4711 /usr/bin/suidperl

or if /usr/bin/suidperl and /usr/bin/sperl5.* both exists and are of
different sizes:

chown root /usr/bin/sperl5* /usr/bin/suidperl
chmod 0111 /usr/bin/suidperl
chmod 4711 /usr/bin/sperl5.*
-

I have tried this withou success.

Then I tried to enable suid perl through /etc/permissions.easy and /
etc/permissions.local
(...)
/usr/bin/perl
root:root 4711
/usr/bin/suidperl
root:root 0111
/usr/bin/sperl5.10.0
root:root 4711
/usr/bin/perl5.10.0
root:root 4711
(...)

but it didn't work (I also tried with 4755 perm for all)

Can you help me?


Thank you very much.
 

Lesen sie die antworten

#1 Axel Braun
25/09/2008 - 09:56 | Warnen spam
newton wrote:

Hi,

excuse me by write in poor english, I don't know your language. I hope
you can help me.

I'm trying run qmail-scanner, an script wich require suid perl enable.
I'm getting this message by configure script:

(...)
Testing suid nature of /usr/bin/perl...
Whoa - broken perl install found.
Cannot even run a simple script setuid

You will either have to correct this
or use the C-wrapper within the ./contrib dir
(...)



is perl installed?
rpm qa |grep perl

Ähnliche fragen