- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cron anomaly
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-15-2004 08:27 AM
12-15-2004 08:27 AM
created user analyst
added user analyst to /var/adm/cron.cron.allow
as user analyst, created cron entry to run every minute
verified job runs via tail -f /var/adm/cron/log
removed user analyst from cron.allow
stop cron via /sbin/init.d/cron stop
start cron via /sbin/init.d/cron start
job still runs
What gives?
Does this mean that, as long as a file exists in /var/spool/cron/crontabs, commands contained within it will be run, regardless of the contents of /var/adm/cron/cron.allow?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 08:34 AM
12-15-2004 08:34 AM
Re: Cron anomaly
cron.allow only controls whether or not you can do a 'crontab -e','crontab -l', etc.
If the the users cron file exists in /var/spool/cron/crontabs, then it WILL continue to run. It doesn't matter if the user was deleted from /etc/passwd, removed from cron.allow, the cron jobs will still run.
cron jobs are not deleted when a user is deleted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 08:36 AM
12-15-2004 08:36 AM
Re: Cron anomaly
I believe, if the user id exist and the cron job is already scheduled, it would run. Removing the user from the cron.allow list only stopped the user from re-editing his cron job / or submitting any new cron jobs.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 08:38 AM
12-15-2004 08:38 AM
Re: Cron anomaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 08:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 08:45 AM
12-15-2004 08:45 AM