- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root cron
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
12-04-2007 05:26 AM
12-04-2007 05:26 AM
Yes I know its a bad idea, but we have a need.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 05:30 AM
12-04-2007 05:30 AM
Re: root cron
It's a very much worst idea.
If it's badly need, please ask user what kind of access he/she needs. Do change according to their need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 05:31 AM
12-04-2007 05:31 AM
Re: root cron
Yes this a bad idear! :-)
If there is no other solution I would install and configure sudo ( # sudo crontab -e root ).
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p12/
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 05:31 AM
12-04-2007 05:31 AM
Re: root cron
1
give user the right to to sudo his comand:
he can create his cron like:
5 0 * * * /appl/tsu/bin/sudo /bin/script.sh 1>/dev/null 2>&1
ore give the user the rights to do sudo crontab -e root
be aware you are giving away full root acces whit this!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 06:30 AM
12-04-2007 06:30 AM
SolutionInstead, if they need something run as root - then ask them to give you the command they want - then you add it to root's cron.
If it is a script - then make sure it is no longer writable by them - ie chown it to root:sys.
Rgds...Geoff