For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2005 > out-of-date suidperl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author out-of-date suidperl
Christian Wirth

2005-03-22, 3:56 pm

Hi,

Hope I got the right of the perl.* newsgroups, but beginner sounds
quite promising :)

My distribution came with perl 5.6.0 installed. I updated to version
5.8.0.

Now I installed a new software (openwebmail), that needs Base64.pm in
a newer version so I installed. Still openwebmail complains about the
older version (of Base64.pm). After some investigation if found out
why: it executes /usr/bin/suidperl that is still version 5.6.0.

So, typing "perl --version" at the console gives output "... 5.8.0
....", while "suidperl --version" gives "... 5.6.0 ...". The newer
version of the Base64.pm lib was installed where perl (5.8.0) searches
it, but not where the vesion 5.6.0 would search it.

I know, making openwebmail accessing the right directories is not
topic of this newsgroup. I find it a bit strange though that the
suidperl-executable was not updated. I didn't find any newer version
of it on my machine.

There are two ./lib/perl5 directories on the machine.

/usr/lib/perl5 is of version 5.6.0
/usr/local/lib/perl5 is of version 5.8.0

Everything seems fine with the second directory, that's used by perl
when executed via apache. All updates of modules are done there. Only
the old suidperl uses the /usr/lib/ directory that is out of date.

So, what to do now? How to update suidperl? should I remove the
/usr/lib/perl directory and instead make a link to the newer
directory?

Thanks for any hints,
Christian Wirth
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com