- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Crontab for users
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
06-04-2002 06:10 AM
06-04-2002 06:10 AM
/var/tmp/aaaa08577" 1 line, 19 characters
crontab: can't create your crontab file in the crontab directory.
what I need to do??
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 06:17 AM
06-04-2002 06:17 AM
SolutionCheck that the ownership and permissions of the following files and directories are correct. Note that the setuid bit of /usr/bin/crontab must be set.
# ll `which crontab`
-r-sr-xr-x 1 root bin 40336 May 31 2001 /usr/bin/crontab
# ll -d /var/spool/cron
dr-xr-xr-x 7 bin bin 1024 Apr 20 06:48 /var/spool/cron
# ll -d /var/spool/cron/crontabs
dr-xr-xr-x 2 bin bin 96 Apr 9 07:40 /var/spool/cron/crontabs
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 06:19 AM
06-04-2002 06:19 AM
Re: Crontab for users
1) Is this happening to only one user, then check the permission of crontab file and crontab directories. (/usr/bin/crontab, /var/adm/cron and /var/spool/cron)
2) Instead of creating with crontab -e, first edit a file and then use the command:
# crontab cronfile
3) If you don't require files, then you can erase the content of /var/tmp. These are temp files normally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 06:22 AM
06-04-2002 06:22 AM
Re: Crontab for users
Initial creation of that user's cron file should be by root
#crontab -e oracvv
From that point forward then the oracvv user can edit it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 06:28 AM
06-04-2002 06:28 AM
Re: Crontab for users
To enable cron you should have the following 2 things ,
1. /var/adm/cron/cron.allow should ahve th user name.
2./usr/spool/cron/crontbs/ should ahve a empty file with the naem as that of the user . This file should be atleast read only .
I think you dont have that file .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 06:34 AM
06-04-2002 06:34 AM
Re: Crontab for users
1) Edit /var/adm/cron/cron.allow (as root) and put my username in it.
2) Run "crontab -e" as myself and it's fine.
The cron file got created in /var/adm/spool/cron/crontabs. So most likely in your case it would be permission as what Steven had mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 06:56 AM
06-04-2002 06:56 AM
Re: Crontab for users
Yes..I tested also and strangely on the first system I did so I got Carlos' symptom. Just now on the 2nd system it worked as you stated.
Both systems, same perms/ownership, so no diff there. Now back on the first system, after removing the newly created cron file, the normal user CAN create new cron files......strange, it's as if cron had to be "bounced".
Jeff