Bug 128706 - crontab: You are not allowed to use this program
crontab: You are not allowed to use this program
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: vixie-cron (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-07-28 09:10 EDT by Thomas Zehetbauer
Modified: 2008-05-09 13:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-08-09 19:13:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thomas Zehetbauer 2004-07-28 09:10:14 EDT
package: vixie-cron-4.1-1

open("/etc/cron.allow", O_RDONLY)       = -1 ENOENT (No such file or
directory)
open("/etc/cron.deny", O_RDONLY)        = -1 ENOENT (No such file or
directory)
You (thomasz) are not allowed to use this program (crontab)
See crontab(1) for more information

       If the cron.allow file exists, then you must be listed therein
in order
       to  be  allowed  to  use this command.  If the cron.allow file
does not
       exist but the cron.deny file does exist, then you must not be
listed in
       the  cron.deny  file in order to use this command.  If neither
of these
       files exists, only the super user will be allowed to use this 
command.
Comment 1 Jason Vas Dias 2004-07-28 11:25:06 EDT
This is not a bug - as the manpage which you quoted states:
"
 If neither of these files exists, only the super user will
 be allowed to use this command.
"
That means that if neither /etc/cron.allow nor /etc/cron.deny exist,
only the superuser (root) can use crontab. 
Comment 2 Thomas Zehetbauer 2004-07-28 11:45:46 EDT
This is new and breaks things, vixie-cron should include and install
an empty /etc/cron.deny when updating.
Comment 3 John Dennis 2004-08-09 19:11:36 EDT
should be fixed as of mailman-2.1.5-10

we no longer use crontab, but rather install a mailman cron script in
/etc/cron.d, which is not supposed to have the same restriction. This
has some other advantages as well.
Comment 4 John Dennis 2004-08-09 19:13:07 EDT
sorry, I edited the wrong bugzilla apparently :-(

Note You need to log in before you can comment on or make changes to this bug.