- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring SUDO
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
Forums
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
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
07-07-2004 11:32 PM
07-07-2004 11:32 PM
I am trying to implement sudo in my 11.11 system and I am hitting problems...
First at all, I installed the software using sam and I have got the usual errors. I tryied to do my homework and followed the intructions in the http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=620312
Basically what I did was:
-uninstalled the software
-changed the 0 3 in the INFO file
-installed again
-changed the /usr/local/bin/sudo for 4111
-run swmodify -a state=configured sudo
Now I am trying to configure it. I imagine I do not need to run any configure or make.
The thing is I can not find any sudoers file!!!
What I have done wrong? or What I need to do? actually I was reading the Install and readme files some 'tutorials' (http://www.komar.org/pres/sudo/) but I am still confused.
What are the next steps?
Could you please help me?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:03 AM
07-08-2004 12:03 AM
Re: Configuring SUDO
Here is a sample file
http://www.courtesan.com/sudo/sample.sudoers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:03 AM
07-08-2004 12:03 AM
Re: Configuring SUDO
Have you tried /etc/sudoers ?
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:49 AM
07-08-2004 12:49 AM
Re: Configuring SUDO
How to sudo:
http://www.siliconvalleyccie.com/linux-hn/sudo.htm
http://www.courtesan.com/sudo/man/sudo.html
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:43 AM
07-08-2004 01:43 AM
Re: Configuring SUDO
I tried visudo as root but it comes with:
# visudo
sh: visudo: not found.
Do I need to set up something in the /etc/PATH?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:51 AM
07-08-2004 01:51 AM
Re: Configuring SUDO
If you downloaded sudo from the porting site, then visudo would be under /usr/local/sbin directory. So, ensure the profile of root has /usr/local/sbin added to the PATH. Don't put it in /etc/PATH. It's not needed for the ordinary users.
Since 'visudo' is not a regularly run command, you can smply run '/usr/locals/bin/visudo' if you don't want to put it in root's profile.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:55 AM
07-08-2004 01:55 AM
Re: Configuring SUDO
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:15 AM
07-08-2004 02:15 AM
Re: Configuring SUDO
When I run visudo it comes with this error:
# /usr/local/sbin/visudo
sh: /usr/local/sbin/visudo: Execute permission denied.
At least the file exists...
So, Do I need to chmod to 4111 or something like that?
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:19 AM
07-08-2004 02:19 AM
SolutionIf you installed it from the porting center, it's not packaged up well. Hence you have to do these adjustments.
This is part of Internet Express Package available in software.hp.com
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
You can download it and install only sudo from that package. But it is for 11i.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 03:12 AM
07-08-2004 03:12 AM
Re: Configuring SUDO
Well, now I am able to use visudo without problem so it is just down to the configuration reading...
They should removed that thing from the porting center, it gives just headaches. We should just installed from Internet Express Package, as Sri suggested but I taught I will need to install all those products that I do not need.
Thanks very much gentlemen for your answers I will assigning points shortly.