- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using sudo for enabling users specific commands
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
07-07-2004 11:58 PM
07-07-2004 11:58 PM
I need to give common users the ability some OV command, I used the VISUDO command in order to edit the SUDOERS file, I added the requested commands, but still, those users couldn't run the commands (I recievd an "cannot execute" error)
anyone?
Itai.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:02 AM
07-08-2004 12:02 AM
Re: using sudo for enabling users specific commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:04 AM
07-08-2004 12:04 AM
Re: using sudo for enabling users specific commands
user1 server_a=/opt/OV/bin/OpC/opcservice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:41 AM
07-08-2004 12:41 AM
Re: using sudo for enabling users specific commands
Did you get it from here:
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:45 AM
07-08-2004 12:45 AM
Re: using sudo for enabling users specific commands
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=630557
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:57 AM
07-08-2004 12:57 AM
Re: using sudo for enabling users specific commands
You need to setup these things in three places in the sudoers file:
1) User_Alias = %group_name
2) Cmd_Alias = /path/to/command1, /path/to/command2, etc....
3) USER_ALIAS = ALL (root) CMD_ALIAS
Sounds like you don't have all three in place.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:51 AM
07-08-2004 01:51 AM
Re: using sudo for enabling users specific commands
i never used them before....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:55 AM
07-08-2004 01:55 AM
SolutionAre you sure they are running the command with 'sudo'? like
/usr/local/bin/sudo opt/OV/bin/OpC/opcservice
This will ask for their password. If you don't want it to ask the password, then you will need to put
user1 server_a= (root) NOPASSWD: /opt/OV/bin/OpC/opcservice
-Sri