- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- cron job permssion denied
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
тАО10-28-2007 05:08 PM
тАО10-28-2007 05:08 PM
cron job permssion denied
Avance thanx....
I have a problem in the RHEL 4 server.Am not able to run the crontab -l if am running through a normal user." root" user its working fine without any problem. If am running the above command as a normal user its showing "permission denied" to excecute.
Please help me to solve it out.
Thanx again.
Rgds,
Prasanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2007 05:59 PM
тАО10-28-2007 05:59 PM
Re: cron job permssion denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2007 06:13 PM
тАО10-28-2007 06:13 PM
Re: cron job permssion denied
r u telling that crontab will not run in normal user without using the sudo?
But am able to run the "crontab" command in some other machine as a normal user.
rgds,
prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2007 06:21 PM
тАО10-28-2007 06:21 PM
Re: cron job permssion denied
Generally, you'll have the following:
/var/spool/cron - ower root:root with permissions 0700 (drwx------).
/usr/sbin/crontab - ower root:root with permissions 4755 (-rwsr-xr-x).
The 'crontab' binary is set up as 'suid', so it should run as any user.
If at some point the crontab binary had it's permissions changed (use 'rpm -V vixie-cron' to confirm that), it will cause this issue.
If this is all it is, then 'chmod 4755 /usr/bin/crontab' will fix it.
If it's not that, then show us the output of the following two commands:
/bin/ls -ld /var/spool/cron /usr/bin/crontab
/bin/rpm -V vixie-cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2007 07:05 PM
тАО10-28-2007 07:05 PM
Re: cron job permssion denied
My intent was to imply that in case the (a) command isn't executing as expected, the command can be easily run with higher privileges just by preceding the command with sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2007 10:42 PM
тАО10-28-2007 10:42 PM
Re: cron job permssion denied
Its the binary problem after setting sid to the crontab file its working fine.
Thanx and rgds,
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2007 10:45 PM
тАО10-28-2007 10:45 PM
Re: cron job permssion denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2007 10:40 PM
тАО12-03-2007 10:40 PM
Re: cron job permssion denied
Change the permission of user to execute in cronjob and try once again.