crontab: you are not authorized to use cron. Sorry.

Posted on August 10, 2007. Filed under: DBA/Admin Tips |

One of my applications instance is running on HP-UX 11. I was planning to schedule a hotbackup as a cronjob and realized that “oracle” user did not have proper permissions to set a cron. I got the following error issuing “crontab -e”

 “crontab: you are not authorized to use cron.  Sorry.”

Googled for it and got the following solution:

— Login as root

— Edit the /usr/lib/cron/cron.allow file

— Add “oracle” at the end.

— Logout and login as “oracle” user again.

No need to bounce any cron services for this.

Hope this tip was useful.

Thanks,
Oracle Pitstop team

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

5 Responses to “crontab: you are not authorized to use cron. Sorry.”

RSS Feed for OraclePitStop – Lets share some knowledge Comments RSS Feed

In HP-UX i have try it is working fine.

Regards
Alok
alokocp@yahoo.co.in

Thank You!

Thank you ., I added myself only in /etc/cron.allow and was scratching my head.

nice tips. working like a charm


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: