[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 538
  • Last Modified:

Urgent: how to install/enable suidperl (using perl 5.8.8)

i have installed perl 5.8.8 from source  and now i am installing AUC.pm and it says it requires suidperl

 i don't know what i am missing, please help me if you can.

I think i have to recopile the perl once again, but still not sure how to enable suidperl :
0
str_kani
Asked:
str_kani
  • 7
  • 6
1 Solution
 
Suhas .QA ManagerCommented:
suidperl : for use with setuid perl scripts

suidperl is the perl interpreter for suid perl scripts, a part of the
    perl package. A maliciously implemented feature causes the interpreter
    to spawn the /bin/mail program to inform the superuser of its usage,
    thereby passing on untrusted environment that causes /bin/mail to
    execute arbitrary commands as user root.


http://rpmfind.net/linux/RPM/freshrpms/yellowdog/2.3/perl/perl-suidperl-5.6.1-34.99.6.ppc.html
0
 
str_kaniAuthor Commented:
i have installed 5.8.8 already... do you think installing this will do?
0
 
Suhas .QA ManagerCommented:
The 'suidperl' is an optional component which is not installed, or even built, by default.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
str_kaniAuthor Commented:
you meant to say,
i have to install this separately and it cannot be configured with the default perl?

and i need to do this on a linux machine so please make sure the rmp you linked is correct.

0
 
Suhas .QA ManagerCommented:
sorry,
that is for version 5.6,

The below link gives you the rpm for version 5.8.8:
http://rpmfind.net/linux/RPM/fedora/devel/ppc/perl-suidperl-5.8.8-4.ppc.html
0
 
Suhas .QA ManagerCommented:
Hope this link will give you the details:

http://www.cpan.org/src/5.0/sperl-2000-08-05/sperl-2000-08-05.txt
0
 
str_kaniAuthor Commented:
ok, tried that but that reqquire some additional rps, and the other requires some other :(
i am a bit new to this, can you please tell me an easy way of installing all required rpms easily?

i tried with yum! but that too failed to help me... it give me the following when i try to run yum

Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
  File "/usr/share/yum-cli/yummain.py", line 23, in ?
    import yum
ImportError: No module named yum

** i am trying this as root
0
 
str_kaniAuthor Commented:
i got this fixed by isntalling some other version, now i have yum working....
but when i run
#> yum list updates
Gathering header information file(s) from server(s)
Server: Fedora Linux / stable for Red Hat Linux 9 (i386)

it hangs after showing the above two lines... sounds like i need to configure something...?

0
 
Suhas .QA ManagerCommented:
try #>yum check-updates
0
 
str_kaniAuthor Commented:
i got the folowing... for
#>yum check-updates


> root]# yum  check-updates
Error: Cannot find baseurl or name for server 'updates'. Skipping

    Usage:  yum [options] <update | upgrade | install | info | remove | list |
            clean | provides | check-update | groupinstall | groupupdate |
            grouplist >

         Options:
          -c [config file] - specify the config file to use
          -e [error level] - set the error logging level
          -d [debug level] - set the debugging level
          -y answer yes to all questions
          -t be tolerant about errors in package commands
          -R [time in minutes] - set the max amount of time to randonly run in.
          -C run from cache only - do not update the cache
          --installroot=[path] - set the install root (default '/')
          --version - output the version of yum
          -h, --help this screen
0
 
Suhas .QA ManagerCommented:
sorry,not updates its check-update

#>yum check-update

then you came to know the list of updates
0
 
str_kaniAuthor Commented:
Ok no problem.
no i get this.... and yum take some time return to the prompt...

# yum check-update
Error: Cannot find baseurl or name for server 'updates'. Skipping
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
0
 
str_kaniAuthor Commented:
no problem, now i got that working... don't know that started working.  restarted the machine once...
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now