You (oracle) are not allowed to use this program (crontab) crontab -l crontab -e run because of /etc/cron.allow


I got ” You (oracle) are not allowed to use this program (crontab) ” error during crontab -l run.


Details of error are as follows. When I try to drop database in mount mode, i got the following error.

[MSDB1]/home/oracle $ crontab -l
You (oracle) are not allowed to use this program (crontab)
See crontab(1) for more information
[MSDB1]/home/oracle $




This error is related with the /etc/cron.allow file.

To solve this error you should add oracle or any other users that will use the Crontab into this file as follows.

[[email protected] home]# cat /etc/cron.allow
[[email protected] home]#


Add oracle user and save /etc/cron.allow

[[email protected] home]# vi /etc/cron.allow

[[email protected] home]# cat /etc/cron.allow
[[email protected] home]#


Now you can run the crontab -l command successfully as follows.

[MSDB1]/home/oracle $ crontab -l
00,15,30,45 * * * * sh /u01/app/oracle/admin/cron_jobs/ 
* * * * * /u01/app/oracle/admin/cron_jobs/ > /u01/app/oracle/admin/cron_jobs/log/check_alertlog.txt




Do you want to learn Oracle Database for Beginners, then read the following articles.

 7,422 views last month,  2 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Do NOT follow this link or you will be banned from the site!