- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sudo 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
05-04-2005 07:18 AM
05-04-2005 07:18 AM
Sudo Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:29 AM
05-04-2005 07:29 AM
Re: Sudo Problem
Can you execute the command with sudo -u "user_id" command??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:37 AM
05-04-2005 07:37 AM
Re: Sudo Problem
What sudo -l command shows?
.Normally it should display the commands
that the particaular user is allowed to execute.
vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:38 AM
05-04-2005 07:38 AM
Re: Sudo Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:45 AM
05-04-2005 07:45 AM
Re: Sudo Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:55 AM
05-04-2005 07:55 AM
Re: Sudo Problem
Should be as follows.
user_name "host_name" command1, command2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 05:10 PM
05-04-2005 05:10 PM
Re: Sudo Problem
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 11:54 PM
05-04-2005 11:54 PM
Re: Sudo Problem
My sudoers file doesnt have uid info in it. I will compare sudoers files on different systems to see what may be wrong in my case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 01:36 PM
05-05-2005 01:36 PM
Re: Sudo Problem
I think my last post confused a bit.
As you said sudoers file will not contain any UID info.
What I wanted you to do is:
Login as the user to whom you are giving sudo access. Execute id commnad and verify the uid shown matches what the user have in /etc/passwd file. If they are diffrent, points to a UID duplication in passwd file. In such cases sudo will fail.
[rx260-01]/ >id
uid=1000(sudhi) gid=3(sys)
[rx260-01]/ >cat /etc/passwd|grep sudhi
sudhi::1000:3::/:/sbin/sh
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 05:06 PM
05-05-2005 05:06 PM
Re: Sudo Problem
In all such scenarios, sudoers file is found culprit. Can you post the contents here? It will help us to provide some help.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 12:15 AM
05-06-2005 12:15 AM
Re: Sudo Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 12:23 AM
05-06-2005 12:23 AM
Re: Sudo Problem
The attachement is not getting opened. Just check.
Regards,
Devender