LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-02-2009, 06:45 AM   #1
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
crontab edit not allowed


Hi,
I am issuing crontab -e from a normal user account but it shows me the following error
You (<user>) are not allowed to use this program (crontab)
See crontab(1) for more information

Following the crontab mannual i edited the cron.allow file restarted the crond and got the same error.


Any idea why is this happening. I guess my machine has got PAM as well but i have no idea regarding PAM.
 
Old 06-02-2009, 06:45 AM   #2
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Original Poster
Rep: Reputation: 58
My distro id RHEL 5.2
 
Old 06-02-2009, 07:04 AM   #3
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Original Poster
Rep: Reputation: 58
The error is change to
cron/myuser: Permission denied

After i added the user to cron.allow
 
Old 06-02-2009, 06:39 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994
Try creating an empty cron.deny.
 
Old 06-03-2009, 06:17 AM   #5
paul81
LQ Newbie
 
Registered: Feb 2008
Location: Rotterdam, Netherlands
Distribution: Fedora and Ubuntu
Posts: 14

Rep: Reputation: 1
What did you put into /etc/cron.allow?
What contains the file /etc/cron.deny?
 
  


Reply

Tags
crontab


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab -e what does it actually edit? wimnat Linux - General 5 05-26-2009 10:26 PM
Crontab - Not allowed to use this program lenny168 Linux - Newbie 9 04-19-2009 01:50 PM
Can't Edit Crontab rignes Linux - Software 1 04-04-2007 11:01 AM
SUSE 10.0 users not allowed to use crontab adamsml Suse/Novell 2 02-01-2007 12:50 AM
crontab doesn't let me to edit wedgeworth Linux - Software 10 09-17-2003 12:15 PM


All times are GMT -5. The time now is 02:04 PM.

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