1846694 Members
3066 Online
110256 Solutions
New Discussion

Re: cron.allow problem

 
SOLVED
Go to solution
Regina Mitchell
Frequent Advisor

cron.allow problem

Users appear in both /var/adm/cron/cron.allow and /usr/lib/cron/cron.allow. When users type
$ crontab -e oracle
They get

crontab: You are not authorized to specify the username

I do not have cron.deny file. Only cron.allow and at.allow. Any suggestion on why I have this problem or how to fix? OS is 11.i
4 REPLIES 4
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: cron.allow problem

Hi Regina,

That does not mean they can not use cron.

dbxxx:/home/robert# crontab -e oracle
crontab: You are not authorized to specify the username

dbxxx:/home/robert# crontab -e
works!!

Regards,
Robert-Jan
James R. Ferguson
Acclaimed Contributor

Re: cron.allow problem

Hi:

It appears from the shell prompt ($) that you are editting a crontab as a normal (non-root) user. In that case, the username following the '-e' switch is not allowed.

If you want to edit the 'oracle' crontab as the 'oracle' user simply do:

$ crontab -e

Regards!

...JRF...
Peter Godron
Honored Contributor

Re: cron.allow problem

Regina,
you have to either be logged on as oracle to edit your oracle file or as root to edit somebody elses file.
if you did a su to oracle, please make sure you did a su - oracle.
Regina Mitchell
Frequent Advisor

Re: cron.allow problem

All replies provided solution to my problem. Thanks to all.