- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudo for sub commands of a application
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
11-09-2003 03:36 PM
11-09-2003 03:36 PM
sudo for sub commands of a application
I have problem with one of the commands of clearcase.It is cleartool
cleartool is a generic command.it has got various sub commands.
giving sudo privilege to the cleartool involves huge risk.
Using one of the sub commands with cleartool on sudo gets it to the root prompt.
Suggestions are welcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 03:47 PM
11-09-2003 03:47 PM
Re: sudo for sub commands of a application
I happen to have done this recently. Let me know if it works for you.
User_Alias CCADMIN = ccadmin
# Cmnd alias specification
Cmnd_Alias CLEARTOOL_NOSHELL=/ccase/atria/bin/cleartool [! ]*, !/ccase/atria/bin/cleartool shell*, !/ccase/atria/bin/cleartool !*
# User privilege specification
CCADMIN psdev1=(ALL) CLEARTOOL_NOSHELL
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 03:55 PM
11-09-2003 03:55 PM
Re: sudo for sub commands of a application
THanks for the response.You can brief me as what is done above.
Please revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 04:29 PM
11-09-2003 04:29 PM
Re: sudo for sub commands of a application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 04:45 PM
11-09-2003 04:45 PM
Re: sudo for sub commands of a application
This syntax does not work for me.
It just tells user is not allowed to execute command as root
Cmnd_Alias CLEARTOOL_NOSHELL=/ccase/atria/bin/cleartool [! ]*, !/ccase/atria/bin/cleartool shell*, !/ccase/atria/bin/cleartool !*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2003 04:49 PM
11-09-2003 04:49 PM
Re: sudo for sub commands of a application
$sudo cleartool setview
It gets back to the shell with root privileges