System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Sivakumar MJ._1
Respected Contributor

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

Check this forum posting

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1239969789677+28353475&threadId=1177746
For HP Online Case Logging-->http://support.openview.hp.com/
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...
For HP Online Case Logging-->http://support.openview.hp.com/
rajesh73_1
Frequent Advisor

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

i gunziped after installing it asking root path
i enter /usr/local it is not accepting
inukoti
Frequent Advisor

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

It seems that you dont have root access.
You need to have the root access to install the package.
swinstall -s /complete path to depotfile/
rajesh73_1
Frequent Advisor

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

Hi thank u everybody

now iam configured sudo in my all boxes

see actully i tried my one box is gunzip problem thats only it take some time

thanku
rajesh73_1
Frequent Advisor

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

thank you for all