Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Setuid script not working

by druidmatrix (Acolyte)
on Apr 30, 2010 at 07:48 UTC ( [id://837713]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Setuid script not working
in thread Setuid script not working

Monks,

You were absolutely right - it is the "setuid-emu" flag to the configure script that is causing the headaches. I rebuilt a distro with "Do you want to do setuid/setgid emulation? y" and now the script works.

However, when I try to build it with the following configure command:

./Configure -Dprefix=/home/csit/usr/perl -Dsetuid-emu=y -des
as per Configure.pm, I get the following:
./optdef.sh: line 3: setuid-emu=y: command not found

Am I doing something wrong? Can someone point out the correct CLI parameter that would enable me to install it silently?

Once again, thank you for your responses.

Replies are listed 'Best First'.
Re^5: Setuid script not working
by Anonymous Monk on Apr 30, 2010 at 08:38 UTC

      I found it on the Perl::Configure page http://search.cpan.org/~mschilli/Perl-Configure-0.08/lib/Perl/Configure.pm. However, I guess I lucked out because I am still at 5.10.1. But I should upgrade to 5.12 as you suggested.

      For now, it may be better to use sudo or su with Expect as Alexander suggested.

      Thank you once again.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://837713]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-16 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found