How to install and config sudo in HP-UX 11i v3. (2751 Views)
Reply
Super Advisor
senthil_kumar_1
Posts: 901
Registered: ‎03-02-2009
Message 1 of 5 (2,751 Views)

How to install and config sudo in HP-UX 11i v3.

Hi All,

I would like to install and config sudo in HP-UX 11i v3.

I have some questions:

1)Is sudo coming default with HP-UX 11i v3?

2)If not, Where we can get sudo software for HP-UX 11i v3 from?

3)How to install the sudo?

4)what is the sudo configuration file?

Please use plain text.
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 2 of 5 (2,751 Views)

Re: How to install and config sudo in HP-UX 11i v3.

Try the HP-UX porting archive:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.7.2p1/

It has compiled versions of sudo for different Hp_UX versions.

Read manual for the configuration.

Horia.
Best regards from Romania,
Horia.
Please use plain text.
Outstanding Contributor
Pete Randall
Posts: 16,197
Registered: ‎11-03-1996
Message 3 of 5 (2,751 Views)

Re: How to install and config sudo in HP-UX 11i v3.

If I recall correctly it may also be included in the Internet Express packaging, if you have that. Configuring depends on what you want to accomplish. You could always try googling:
+sudo +configure +site:itrc.hp.com


Pete

Pete
Please use plain text.
Honored Contributor
johnsonpk
Posts: 361
Registered: ‎05-11-2008
Message 4 of 5 (2,751 Views)

Re: How to install and config sudo in HP-UX 11i v3.

Pete is right it is available iexpress,

can be downloaded from https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131


configuration file is /opt/iexpress/sudo/etc/sudoers

regards!
johnson
Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,416
Registered: ‎06-21-2000
Message 5 of 5 (2,751 Views)

Re: How to install and config sudo in HP-UX 11i v3.

>>configuration file is /opt/iexpress/sudo/etc/sudoers

But, you should not edit this file directly with 'vi'. You should use the command 'visudo'. This opens the file in 'vi', but when you exit it does syntax checking on the file to make sure the file is correct and sudo can interpret it. If there are errors, it will tell you about them.
Please use plain text.