- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- providing crontab access for a user by sudo
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
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
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-25-2011 01:41 AM
тАО04-25-2011 01:41 AM
providing crontab access for a user by sudo
naraguna ALL=(root)NOPASSWD:/usr/bin/crontab
Correct me if i am wrong.. Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2011 02:10 AM
тАО04-25-2011 02:10 AM
Re: providing crontab access for a user by sudo
user1 ALL = NOPASSWD:/housekeep/scripts/wintel/cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2011 04:01 AM
тАО04-25-2011 04:01 AM
Re: providing crontab access for a user by sudo
and i some forums i have seen the % symbol in front of the user name in /etc/sudoers file. what might be the reason for that. Please clarify Johnson..
Thanks!
Simhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2011 04:24 AM
тАО04-25-2011 04:24 AM
Re: providing crontab access for a user by sudo
If you choose to manage your sudoers file centrally, and use the same file in many hosts, you can use host names in that place to create sudoers definitions that apply in some specific hosts.
The % sign in front of a name means it's a group name, not an user name.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2011 10:17 PM
тАО04-25-2011 10:17 PM
Re: providing crontab access for a user by sudo
Is that really your intention?
Consider that thus user naraguna is allowed to edit root's crontab, enabling them to schedule any (possibly nefarious) script or program to be executed as root.
If instead it was only intended for naraguna to peek into root's scheduled cronjobs, it maybe would be wiser to change the sudoers line into:
naraguna ALL = NOPASSWD /usr/bin/crontab -l