- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Ability of non root user to modify 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
10-25-2001 09:51 AM
10-25-2001 09:51 AM
Ability of non root user to modify root cron
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 09:58 AM
10-25-2001 09:58 AM
Re: Ability of non root user to modify root cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 10:47 AM
10-25-2001 10:47 AM
Re: Ability of non root user to modify root cron
If that person has to modify the root cronfile, you could use sudo (download it from your favorite porting center) to let him be root while executing crontab (sudo /usr/bin/su root -c /usr/bin/crontab...)...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 11:07 AM
10-25-2001 11:07 AM
Re: Ability of non root user to modify root cron
The ability to modify root's cron is the ability to run a root kit at will. At the most I would recommend allowing the person to see a copy of the cronfile and modify it accordingly. A root user could then compare the changes, make sure they are safe, then activate teh cronfile.
Even this is a security risk if any command executed by the cronfile is modifiable by the user(s) in question, but it is better than just opening up root cron directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 11:19 AM
10-25-2001 11:19 AM
Re: Ability of non root user to modify root cron
First, root's crontab is powerful. I wouldn't want anyone but a sysadmin modifying it. Do you really want to let a user run anything he wants as root? Not a good thing.
You could let / help the user set up his own crontab and use sudo or possibly a setuid script / program (and this is dangerous - don't let it be writable) if his tasks have to be performed as root. Even then, I'd only do so if the tasks absolutely had to run as root and I wouldn't allow him to modify the script. In the end you come back to having a sysadmin make the change anyway.
It's just a very bad thing to give up root access in any form.
Darrell