Operating System - HP-UX
1748038 Members
5039 Online
108757 Solutions
New Discussion юеВ

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

 
senthil_kumar_1
Super Advisor

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?

4 REPLIES 4
Horia Chirculescu
Honored Contributor

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.
Pete Randall
Outstanding Contributor

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
johnsonpk
Honored Contributor

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
Patrick Wallek
Honored Contributor

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.