- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: visudo problem
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
01-10-2010 05:41 PM
01-10-2010 05:41 PM
visudo problem
Im having problem with my box(HP-UX alxapd03 B.11.23 U ia64 1919643550 unlimited-user license). I already installed sudo (sudo-1.7.2p1-ia64-11.23.depot). But when I've tried editing visudo (/usr/local/sbin/visudo) it only shows blank text. Anyone knows how to fix this?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:49 PM
01-10-2010 05:49 PM
Re: visudo problem
and what you want to be there in it, you have to configure it as per your needs.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:53 PM
01-10-2010 05:53 PM
Re: visudo problem
# cat /etc/sudoers
cat: Cannot open /etc/sudoers: No such file or directory
It's a newly installed box and I need users to have sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:56 PM
01-10-2010 05:56 PM
Re: visudo problem
or try to do
find / -name sudoers
Are you sure it was installed properly.
Try reinstaling it.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:14 PM
01-10-2010 06:14 PM
Re: visudo problem
# find / -name sudoers
/opt/iexpress/sudo/newconfig/opt/iexpress/sudo/etc/sudoers
/usr/local/etc/sudoers
BTW, is it OK to reinstall it directly? I mean use sam again?
thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:21 PM
01-10-2010 06:21 PM
Re: visudo problem
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 07:08 PM
01-10-2010 07:08 PM
Re: visudo problem
You may also seem to have a different (rogue) version installed in /usr/local/bin.
Run the following command to see which version you are accessing:
ls -l $(which sudo) $(which visudo)
If the binaries are not from /opt/iexpress/sudo/bin then you need to remove the rogue version and create the following symbolic links:
ln -s /opt/iexpress/sudo/bin/sudo /usr/bin/sudo
ln -s /opt/iexpress/sudo/bin/visudo /usr/bin/visudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 05:17 PM
01-11-2010 05:17 PM
Re: visudo problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 05:42 PM
01-11-2010 05:42 PM