Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
As a test I had a simple script in place that merely touch's a file in /tmp. This file never gets created. Absolutely nothing is logged to /var/log/messages or /var/log/cron
I do see my edits to the bkpops user crontab in /var/log/cron:
Jul 24 10:20:56 adcbkpadm01 crontab: (root) BEGIN EDIT (bkpops)
Jul 24 10:20:59 adcbkpadm01 crontab: (root) REPLACE (bkpops)
Jul 24 10:20:59 adcbkpadm01 crontab: (root) END EDIT (bkpops)
/etc/cron.allow did not exist, so I created it and added bkpops. (/etc/cron.deny existed previously but contained no users)
I then searched google and saw a lot of people having this issue and supposedly this solved there problem:
account required pam_access.so
account required pam_access.so accessfile=/etc/security/access-cron.conf
1. "chmod 755 /usr/local/bkpops/sbin/grabNBUjobs"
2.try to run that command from the shell prompt.
3.if it is yes , then try to run through cron.
4.place this thing to cron file " 25 10 * * * /usr/local/bkpops/sbin/grabNBUjobs > /usr/local/bkpops/logs/cron.out 2>&1 "
4.Remember every time u r changing the cron file u should restart the cron service .
5. try this command " ps afx | grep grabNBUjobs "