Operating System - HP-UX
1833184 Members
3188 Online
110051 Solutions
New Discussion

Perl local unauthorized elevated priviliges

 
James Isom
New Member

Perl local unauthorized elevated priviliges

Hey,

I received the alert regarding versions of Perl that are in use in the technology sector. We are running multiple version from 5.6.0 - D.5.8.0.B. I want to upgrade all our versions to D.5.8.0G which will correct the alert. Does anyone know where I can get that data so that I can upgrade the existing 5.6.0 to 5.8.0 and then put the revisions D.5.8.0.G into place. Please let me know, Thanks, Jim
4 REPLIES 4
H.Merijn Brand (procura
Honored Contributor

Re: Perl local unauthorized elevated priviliges

If you upgrade, why opnly to level 5.8.0?
There are far too many fixes and updates after 5.8.0 to mention in a post like this.

5.6.0 is considered the worst ever release of perl. Personally I would prefer 5.6.2 over 5.8.0

5.8.7 is already widely available. Also promoted often from many here on the forum: HP porting center - http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.6/ (still 5.8.6, but that's OK too) or from my site: http://mirrors.develooper.com/hpux/#Perl

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
James Isom
New Member

Re: Perl local unauthorized elevated priviliges

Thanks for help with the last question that I had, we have decided to go with Perl 5.8.7 since there were so many releases in Perl 5.8.0, they are currently at revision G I think, and we thought about the release of 5.8.6 but decided to take it a step further.

I downloaded the Perl 5.8.7 which comes in as "stable.tar.gz" how does one go about installing it on a machine that already has perl installed. It appears that you can simply uninstall it underneath the "/opt" filesystem but I wanted to ask the people that have far more knowledge of it than I do.

Sincerely,

Jim
Alan Meyer_4
Respected Contributor

Re: Perl local unauthorized elevated priviliges

For simplicity sake, I would use one of the swinstall depot's from the aforementioned download site.

If it was not installed via swinstall previously, just trace back the perl path (whence perl) and remove the source directory before installing via swinstall.
" I may not be certified, but I am certifiable... "
H.Merijn Brand (procura
Honored Contributor

Re: Perl local unauthorized elevated priviliges

You got the source.

If you go from the source, you have to compile it

# sh ./Configure -des

or if you need 64bit

# sh ./Configure -Duse64bitall -des

please read README.hpux and INSTALL

If you are goingg to use GNU gcc, please skip the building of a binary, and take my distribution. It's complete, and easy to install. The most recent software depot contains both 32 and 64bit perl binaries

From the link i posted earlier:
--8<---
Installation
Install from compressed archives

To install it, do something similar to:

# cd /opt
# bzip2 -d
And add /opt/perl64/bin to your $PATH, preferably in /etc/PATH, but be sure to put it before /usr/contrib/bin, where old perls might live.
Install from Software Depots

Medio March 2005, I started experimenting with converting my distributions to software depot's, the way HP's porting certer ships them. The first effort has lead to a deport that contains perl-5.8.6-dor for HP-UX 11.00 both the 32bit and the 64bit build. In a depot, you can force the destination folder, and swinstall registers the installed software, which has obviously some advantages. To install it, use something similar to:

# swinstall -s /tmp/perl-5.8.6-dor-11.00.sd perl

which will install both 32bit perl (/opt/perl) and 64bit perl (/opt/perl64), but it still won't alter /etc/PATH, for reason that I can't predict which version you are going to use by default. If you prefer to install only one of the two versions:

# swinstall -s /tmp/perl-5.8.6-dor-11.00.sd perl.perl5-32
# swinstall -s /tmp/perl-5.8.6-dor-11.00.sd perl.perl5-64

Since there is no need for the files to be of any specific user, I did not set it to a specific user ID. Just for housekeeping, you might want to consider 'chown -R root:sys /opt/perl*' after installation.
-->8---

For HP-UX 11.00:
http://mirrors.develooper.com/hpux/perl-5.8.7-dor-11.00.sd.bz

For HP-UX 11.11 (11i):
http://mirrors.develooper.com/hpux/perl-5.8.7-dor-11.11.sd.bz

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn