advertisements
_____________________________________________________________________________________________________________________
Error Description:
crontab
–e, crontab –l commands are failing with following error.
$
crontab -l
You
(brmsftp) are not allowed to use this program (crontab)
See
crontab(1) for more information
$
crontab -e
You
(brmsftp) are not allowed to use this program (crontab)
See
crontab(1) for more information
Solution Description:
There
are 2 files located in /etc directory. Those are cron.deny and cron.allow. To
enable the crontab for a particular user, you have to add the particular UNIX username
in cron.allow file. To disable the crontab for a user, you need to add the
username in the cron.deny file.
These
files are owned by root and the modification needs to be done by the root user
only.
Note: if you add the
username in both cron.deny and cron.allow files, it will consider the allow
option only.
File
names are.
# ls -ltr cron.*
-rw-r--r-- 1 root
root 0 May 6 2011
cron.deny
-rw-r--r-- 1 root
root 38 Dec 17 21:56 cron.allow
_____________________________________________________________________________________________________________________
0 comments:
Post a Comment