- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudo problem in Hp-ux
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
тАО04-08-2009 08:09 AM
тАО04-08-2009 08:09 AM
sudo is installed In my hp-ux server.
I checked below using below command.
root@lgapps:/root > swlist -l product | grep -i sudo
sudo 1.6.6 sudo
But the problem is i am not able to execute "visudo" "vi /usr/local/etc/sudoers"
Ex:
root@lgapps:/root > visudo
su: visudo: not found.
How to solve this problem.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 08:14 AM
тАО04-08-2009 08:14 AM
Re: sudo problem in Hp-ux
maybe an issue with the path.
if
# which visudo
no visudo in ....
# swlist -l file sudo.1.6.6 | grep visudo
Correct you PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 08:15 AM
тАО04-08-2009 08:15 AM
Re: sudo problem in Hp-ux
You need to figure out where 'visudo' is installed, and then add that directory to your PATH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 08:19 AM
тАО04-08-2009 08:19 AM
Re: sudo problem in Hp-ux
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 08:30 AM
тАО04-08-2009 08:30 AM
Re: sudo problem in Hp-ux
I am getting following error message.
1)swlist -l file sudo.1.6.1 | grep visudo
ERROR: Software "sudo.1.6.1" was not found on host "ad002223:/".
2) root@lgapps:/root > which visudo
no visudo in /appl/avl/bin /usr/sbin
3) I am not able to find "visudo"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 08:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 08:44 AM
тАО04-08-2009 08:44 AM
Re: sudo problem in Hp-ux
no visudo in /appl/avl/bin /usr/sbin
All this is saying is that 'visudo' is not found in the 2 directories listed.
Try the 'find' command that Pete suggested. That should locate the 'visudo' program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 09:03 AM
тАО04-08-2009 09:03 AM
Re: sudo problem in Hp-ux
I am getting following error message:
>swlist -l file sudo.1.6.6 | grep visudo
ERROR: Software "sudo.1.6.6" was not found on host "ad002223:/".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 09:09 AM
тАО04-08-2009 09:09 AM
Re: sudo problem in Hp-ux
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 09:34 AM
тАО04-08-2009 09:34 AM
Re: sudo problem in Hp-ux
sudo.1.6.6 is a old release perhaps for 11.00.
I get it in attach for 11.00.