- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sudo: user not authorized on this host
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
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
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
тАО06-05-2003 04:51 AM
тАО06-05-2003 04:51 AM
sudo: user not authorized on this host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 05:01 AM
тАО06-05-2003 05:01 AM
Re: sudo: user not authorized on this host
It's not kind to answer a question with a question, but which OS are you using ...
I had similar problems on Redhat Linux and there it was a problem with visudo (I opened the /etc/sudoers with the vi)
Another thing might be, if you are working with NIS (nsswitch.conf). Is there a remote login, or are you working locally ... If remote, does a ping or a traceroute on "hostname" work ...
Best regards
Oli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 05:26 AM
тАО06-05-2003 05:26 AM
Re: sudo: user not authorized on this host
The advice is good and the program not stupid.
1)Non printable inthe sudoers file
2)Bad name resolution
Try sudo -s or sudo -v to see what happens.
Copy the id from the passwd file and use it to grep on the sudoers file
Steve Steel
+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 05:39 AM
тАО06-05-2003 05:39 AM
Re: sudo: user not authorized on this host
Our site uses DNS and sudo works fine for the same id on another 11.0 server.
Perhaps these is some non-printable character(s) out there in the /etc/sudo file. If so, how could I find those characters? Also, I am using sudo 1.6.b2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 05:42 AM
тАО06-05-2003 05:42 AM
Re: sudo: user not authorized on this host
Try
vis file
od -c file
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 05:56 AM
тАО06-05-2003 05:56 AM
Re: sudo: user not authorized on this host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 10:28 PM
тАО06-05-2003 10:28 PM
Re: sudo: user not authorized on this host
Are you using any group or host restrictions in your sudoers? If so check that the host is who it thinks it is, and that this user really is a member of the right groups:
1. Login as the user and run "id"
2. ping the hostname locally and remotely.
3. Use nslookup etc to confirm that you always get the same answers (this includes localhost).
Beyond this can you post your sudoers file and an output of "sudo -v"?