Operating System - HP-UX
1753572 Members
5747 Online
108796 Solutions
New Discussion юеВ

Re: how to configure sudo in hp-ux 11:23

 
SOLVED
Go to solution
rajesh73_1
Frequent Advisor

how to configure sudo in hp-ux 11:23

how to configure sudo in hp-ux 11:23

pls any one help me
13 REPLIES 13
Sivakumar MJ._1
Respected Contributor

Re: how to configure sudo in hp-ux 11:23

Pnaidu
Frequent Advisor

Re: how to configure sudo in hp-ux 11:23

Hi,

Its a very generic question, please explain what exactly you want.

You may download and install sudo from :
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.7.0/

Once install you can run visudo to view/modify the file at your wish. Check the documentation for Installation README Man Page for SUDO.
Try google search and you'll find alot more documents on SUDO.

Thanks,

Bijeesh
Respected Contributor

Re: how to configure sudo in hp-ux 11:23

hi
I think this thread will be very helpfull for you.See the attachment on this.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1175828

inukoti
Frequent Advisor
Solution

Re: how to configure sudo in hp-ux 11:23

Please install from http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123

then after installation

open file /opt/iexpress/sudo/etc/sudoers then make changes according to your needs .Examples can be found at

http://www.sudo.ws/sudo/sample.sudoers

have fun!!!
Ganesan R
Honored Contributor

Re: how to configure sudo in hp-ux 11:23

Hi,

Download it from here..

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

Man page is here

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.7.0/man.html

In simple term,

After installation run the command /usr/sbin/visudo
It will open /etc/sudoers you can edit as below mention

User servername = /usr/bin/kill

for example
# appl user access
appl hpserver1 = /usr/sbin/reboot, /usr/sbin/shutdown, /usr/bin/passwd

save the file

login as appl
to run kill command
$sudo /usr/bin/kill -9 pid
Best wishes,

Ganesh.
rajesh73_1
Frequent Advisor

Re: how to configure sudo in hp-ux 11:23

Hi ganesan i tried to unzip the file but i cannot able to unzip

sudo-1.7.0-hppa-11.23.depot.gz
Pete Randall
Outstanding Contributor

Re: how to configure sudo in hp-ux 11:23

You probably need to install gzip first:

http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.12/


Pete

Pete
Ganesan R
Honored Contributor

Re: how to configure sudo in hp-ux 11:23

Hi Rajesh,

Which command did you used to unzip?

#gunzip sudo-1.7.0-hppa-11.23.depot.gz

Best wishes,

Ganesh.
Sivakumar MJ._1
Respected Contributor

Re: how to configure sudo in hp-ux 11:23

What error you get when you try to unzip...