Operating System - HP-UX
1850277 Members
3154 Online
104053 Solutions
New Discussion

Question on SUDO configuration?

 
Mike_305
Super Advisor

Question on SUDO configuration?

Hi,

I am planning to install SUDO and I try to search the web to find out what needs to be done after install and I can’t find any clear documentation.

Is their a SUDO configuration guide out on the web stating such as what needs to be done after install, like what to configure on UNIX level, OS 11i?

Appreciate your help in advance.

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.
9 REPLIES 9
Rick Garland
Honored Contributor

Re: Question on SUDO configuration?

If you installed SUDO from the HP distro (the 'depot' file) there isn't anything else you need to do. It is ready for use.

What is left is the configuration for your users and environment. If you do 'visudo' this will take you into the sudoers file and examples are in this file.

Further assistance can be obtained from here in the forums, search on past postings here is the forums, searching on google, etc

Steven E. Protter
Exalted Contributor

Re: Question on SUDO configuration?

Shalom Mike,

Hopefully you used the internet express version of sudo. If so, it installs correctly and is usable. Some playing with file permissions on the binary is needed for the hp porting and archive center version.

Time to sudo!

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jaime Bolanos Rojas.
Honored Contributor

Re: Question on SUDO configuration?

Mike, if you want deeper information about sudo, then this site is for you:

http://www.gratisoft.us/sudo/man/sudo.html

Regards,

Jaime.
Work hard when the need comes out.
Mike_305
Super Advisor

Re: Question on SUDO configuration?

Hi,

I am installing HP version of SUDO, downloaded from HP.

Link downloaded from:
https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=HPUXIEXP1111

File name: ixSudo_A.07.00-1.6.8p12_HP-UX_B.11.11_32_64.depot

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.
Rick Garland
Honored Contributor

Re: Question on SUDO configuration?

You have the iExpress version. Just do the swinstall on the depot.

After completed it will be ready for use.

Examples on sudoers configuration will be in the sudoers file. Access using the 'visudo' command.

NMory
Respected Contributor

Re: Question on SUDO configuration?

Mike:

You can also check this website:

http://www.komar.org/pres/sudo/

LN
Khashru
Valued Contributor

Re: Question on SUDO configuration?

I have configured using the attached document.

Also my original configuration file in the sustem is as follows

# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# Runas alias specification

# User privilege specification
root ALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL

# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL

# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
#sa_hit ALL=/usr/lbin/modprpw
#sa_hit ALL=/usr/bin/passwd
sa_hit hpprod = NOPASSWD: /usr/lbin/modprpw, /usr/bin/passwd
Mike_305
Super Advisor

Re: Question on SUDO configuration?

Thanks for your help.
If there is problem then don't think as problem, think as opportunity.