- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudoers question
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
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
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
тАО08-06-2008 09:14 PM
тАО08-06-2008 09:14 PM
sudoers question
I have installed sudo 1.6.8 in my HP-UX 11.23 server.
After installing, i edited sudoers.sample file which resides in /usr/local/etc by:
#/usr/local/sbin/visudo -f sudoers.sample
I get the sudoers file in the same location, i.e., /usr/local/etc
sudo executes fine when i use it as a user.
But my question is:
Is sudoers file supposed to reside in
/usr/local/etc or in /etc
When i tried to move the file to /etc, sudo doesn't work and points that:
sudoers file is not found in /usr/local/etc.
What could be the done for this!
Kindly Suggest!
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 09:38 PM
тАО08-06-2008 09:38 PM
Re: sudoers question
my sudoers file in /etc is like below
sudoers -> /opt/iexpress/sudo/etc/sudoers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 09:43 PM
тАО08-06-2008 09:43 PM
Re: sudoers question
But i dont have iexpress directory in /opt
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 10:03 PM
тАО08-06-2008 10:03 PM
Re: sudoers question
I have seen the sudoers file in /etc, /usr/local/etc and in /opt/iexpress/sudo/etc.
If yours is in /usr/local/etc then that is where it should stay as that location was specified when sudo was compiled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 10:15 PM
тАО08-06-2008 10:15 PM
Re: sudoers question
I think doesn't really matter where this file actually resides.
I think its place depends on the packager who built the depot.
Had you installed it from the InternetExpress it would have gone beneath /opt/iexpress/sudo/etc.
Whereas I suppose you have installed a depot from an HP Porting Center mirror so that you find yours beneath /usr/local/etc.
If you compile it from the sources you can decide by various --*prefix flags where things should go on install.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 10:29 PM
тАО08-06-2008 10:29 PM
Re: sudoers question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 10:47 PM
тАО08-06-2008 10:47 PM
Re: sudoers question
thankx for all the replies.
I downloaded the latest depot file for sudo 1.6.9
Now, i get a sudoers file in /opt/iexpress/sudo/etc directory and in /etc also with a soft link which was exactly the same thing ahsan was telling.
It seems version makes all the differences.
thanks for the replies though!
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 10:51 PM
тАО08-06-2008 10:51 PM