1833129 Members
3475 Online
110051 Solutions
New Discussion

Help installing sudo

 
SOLVED
Go to solution
Surey
Occasional Advisor

Help installing sudo

Hello All,

I have to install sudo in our systems. I downloaded it and tried to compile it snd it failed with the following error:

"/usr/ccs/bin/ld: DP relative code in file .libs/sudo_noexec.o - shared library must be position
independent. Use +z or +Z to recompile.
collect2: ld returned 1 exit status
*** Error exit code 1"

Can anyone show me how sudo can be installed?

Your help will be greatly appreciated!

Best Regards,
Surey
Knowledge is power!
3 REPLIES 3
Ivan Krastev
Honored Contributor

Re: Help installing sudo

You can install sudo as part of Internet Express package - http://h20338.www2.hp.com/hpux11i/cache/324414-0-0-0-121.html


regards,
ivan
Ra Jose
Regular Advisor

Re: Help installing sudo

As Ivan said, the sudo package is available under the "Internet express". You can download the tar ball for security tools for your correct OS version. Then, use swinstall to install sudo on your system. Once done, the sudo configuration /etc/sudoers has to be done before using sudo. The sudoers contain, which users are allowed to run which commnads as sudo. Once done, you can test it.
Rajos
Dennis Handly
Acclaimed Contributor
Solution

Re: Help installing sudo

ld: DP relative code in file sudo_noexec.o - shared library must be position independent.

For gcc this means you need the -fpic option.