- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to set up sudoers to for mass of scripts
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
тАО04-14-2008 09:48 AM
тАО04-14-2008 09:48 AM
how to set up sudoers to for mass of scripts
From what I have been able to find via google, should be able to use:
/usr/local/scripts/ and allow user to run any script in that directory, but when I try this, I get:
Sorry, user db55621 is not allowed to execute /usr/local/scripts/testThis as lzMntIt1 on eagle1.rmtc.fedex.com
What do I have wrong here?
- Tags:
- sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2008 10:04 AM
тАО04-14-2008 10:04 AM
Re: how to set up sudoers to for mass of scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2008 10:08 AM
тАО04-14-2008 10:08 AM
Re: how to set up sudoers to for mass of scripts
In /opt/fedex/lzWebIt1/testing/scripts/, there are scripts like startLssi, which runs some commands to start the app... If I try to do sudo -u lzMntIt1 /opt/fedex/lzMntIt1/testing/scripts/startLssi, I get the not allowed to excute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2008 07:27 PM
тАО04-14-2008 07:27 PM
Re: how to set up sudoers to for mass of scripts
This should work fine. You can use wildcard
characters in sudoers file:
db55621 ALL = (lzMntIt1) /opt/fedex/lzMntIt1/testing/scripts/*
I tested similar command in Fedora 8 five minutes ago :)
Greetings from rainy Sydney,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2008 07:04 AM
тАО04-15-2008 07:04 AM