- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sudo access
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2011 05:45 AM
10-02-2011 05:45 AM
Hi,
I want to enable the local user to execute some commands with root privileges. I guess we can use visudo for this, right?.
The Os version in which I want to implement this change is 11.31. I saw this same is implemented using visudo and making some changes in file /usr/local/etc/sudoers in hpux 11.23. Do i need to install the sudo package in 11.31 or it is default?
If sudo must be there, May i ensure the installation using the command #swlist -l product | grep -i sudo* or sudo
Kindly provide the procedure and file location in 11.31 OS to implement this same.
Regards,
Masthan
Solved! Go to Solution.
- Tags:
- sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2011 03:35 PM
10-02-2011 03:35 PM
Re: sudo access
Hi:
'sudo' is the utlity and the 'sudoers' file is it's configuration file. The proper and safe way to edit the configuration file is with 'visudo' which is the 'vi' editor with some locking and syntax checking for the 'sudoers' configuration you are editing.
You can fetch a copy of 'sudo' from the Porting and Archive Centre:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.8.0/
If you use the Porting Centre's offering, be sure to install the dependencies. This is easily done by first installing the 'depothelper' from there.
The 'sudo' utility is also available from HP in the Internet Express depot:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131
Regards!
...JRF...
- Tags:
- depothelper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2011 02:34 AM
10-03-2011 02:34 AM
Re: sudo access
So the only dependency to install sudo is depothelper, right?. Do I need to put this sudo package under /var/spool/sw directory or I can simply mention as #swinstall -s /tmp/sudopackage.depot ?
I have downloaded the sudo pkg from the mentioned location and while i install it i got the error that "Checksum error". And while i checked the depot listing, it having only one file of same name as depot. Kindly advice.
Regards,
Masthan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2011 05:00 AM
10-03-2011 05:00 AM
Solution
@masthan_1 wrote:
So the only dependency to install sudo is depothelper, right?. Do I need to put this sudo package under /var/spool/sw directory or I can simply mention as #swinstall -s /tmp/sudopackage.depot ?
I have downloaded the sudo pkg from the mentioned location and while i install it i got the error that "Checksum error". And while i checked the depot listing, it having only one file of same name as depot.
The 'depothelper' is not a dependency, but 'zlib' is. I suggested the use of the 'depothelper' because it expedites dependency collection.
You can put the package in any directory you want and 'swinstall' from there. Installation will be into '/usr/local/<package>' using 'swinstall'.
If you got a checksum error, make sure that you transferred the file to your server in binary mode if you used FTP. See also:
http://hpux.connect.org.uk/hppd/answers/5-2.html
Yes, the name of the depot that you fetch will be '*.depot' just as any HP-supplied depot.
Regards!
..JRF...
- Tags:
- depothelper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2011 01:16 PM
10-08-2011 01:16 PM
Re: sudo access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2019 08:30 AM
04-01-2019 08:30 AM
Re: sudo access
I see that many posts have links...which obviously don't work 90% of the time. can you help me fing the sudo depot for download.
thanks