Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-20-2004, 10:05 AM   #1
Registered: Sep 2004
Location: Australia
Distribution: Fedora Core 2
Posts: 36

Rep: Reputation: 15
cannot use crontab as root????

Crontab Problem

Crontab is installed by default on the fedora core 2 system. I tried running "crontab -l" command from root prompt. It gave a error "You(root) cannot use crontab, check man crontab for more information". I did check the no info...I did try the same command with normal user. It gives the same error. I also tried -u option. Please suggest.

Thx in advance for any suggestion.

Old 10-24-2004, 06:53 AM   #2
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
the cron system has a permission control system, using two files allow and deny.
Check your /var/spool/cron directory for presence of these files.
Old 10-24-2004, 10:24 AM   #3
Registered: Sep 2004
Location: Australia
Distribution: Fedora Core 2
Posts: 36

Original Poster
Rep: Reputation: 15
It works


I solved the problem by creating the cron.allow and cron.deny files under /etc

touch /etc/cron.allow
touch /etc/cron.deny
Added root in cron.allow

It works now.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab as root nutthick Linux - Newbie 2 03-03-2005 02:13 AM
Crontab "root user" problems... Clubber Lang Linux - General 3 09-30-2004 09:29 AM
root crontab plisken Slackware 8 05-02-2004 11:41 AM
How to restore original root crontab vrillusions Slackware 1 04-21-2004 09:54 PM
problems with crontab for root reqvidd Linux - Newbie 2 11-10-2003 07:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration