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.