Crontab authentication failure


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Crontab authentication failure
# 1  
Old 03-11-2019
Crontab authentication failure

Dear all,
I noticed in syslog that i receive authentication failure from cron:

Code:
Mar 11 23:19:01 s1 CRON[28789]: Authentication failure
Mar 11 23:19:01 s1 cron[682]: Authentication failure
Mar 11 23:19:01 s1 cron[682]: Authentication failure
Mar 11 23:19:01 s1 CRON[28787]: Authentication failure
Mar 11 23:19:01 s1 CRON[28788]: Authentication failure
Mar 11 23:19:01 s1 cron[682]: Authentication failure

How can I check what caused that and why there are two "crons"?

There are also other cron entries in syslog:
Code:
Mar 11 23:19:01 s1 CRON[28793]: (web123) CMD (/usr/bin/php5 -q /var/www/web123/web/yii/console/yiic.php email #domain.com)
Mar 11 22:46:01 s1 CRON[24149]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)

Recently i had issue with dovecot/postfix mailuser rights, maybe this could be the issue, but i do not know what to look for.

Last edited by RavinderSingh13; 03-11-2019 at 10:23 PM..
# 2  
Old 03-12-2019
Please post your exact crontab file entries for these two users:
  • root
  • web123

We need to see the exact crontab file entry to give you the help you are asking for.

Thanks.
# 3  
Old 03-12-2019
Thanks for reply.
Here's crontab -l for root:

Code:
* * * * * /usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
30 00 * * * /usr/local/ispconfig/server/cron_daily.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done

any other jobs are comented out.

I could not find any of the cron jobs for user web123
crontab -u web123 -l no crontab for web11 , even if they appear in syslog


Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 03-12-2019 at 08:41 PM.. Reason: Added CODE tags.
# 4  
Old 03-13-2019
hrbmx and mydove

Why are you posting questions and answers here at unix.com with two usernames (two accounts)?

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Setting Up Google 2F Authentication for Automated (Crontab) rsync

Dear All, I have Google Two Factor (2F) Authentication enabled for sshd on most of my Linux servers. This works well and I highly recommend it. My question is: Has anyone set this up for rsync which runs in a crontab? For example, supposed we have this simple crontab script: ... (5 Replies)
Discussion started by: Neo
5 Replies

2. UNIX for Advanced & Expert Users

Cron Authentication Failure error in Linux

I was bogged with an error “Authentication Failure” for all of my cron jobs in Linux Ubunutu. root@Test:~# tail -f /var/log/syslog | grep cron Dec 11 16:38:01 Test cron: Authentication failure Dec 11 16:38:01 Test cron: Authentication failure Dec 11 16:38:09 Test cron: (CRON) INFO (pidfile... (1 Reply)
Discussion started by: SULTAN01
1 Replies

3. Linux

Authentication Failure while Connecting to NXServer

Hello All, I am having trouble connecting to a Fedora 16 Server using NX Client for Windows 7. It gives the following error: NX> 203 NXSSH running with pid: 7124 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 285 Setting the preferred NX options NX>... (1 Reply)
Discussion started by: psoheil
1 Replies

4. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

5. Cybersecurity

"authentication failure" then "session opened". Why?

Ssh connections using shared public keys issue “authentication failure” messages, then succeed with “session opened”. I have found a few other threads with similar issue, but no solutions offered. :wall: How can I eliminate the failure messages? Environment: $ uname -a Linux... (0 Replies)
Discussion started by: KennyCason
0 Replies

6. UNIX for Advanced & Expert Users

PAM authentication failure

My PAM module seems to work right but it fails in authentication. Althought it can't authenticate, the session module works and the software who uses it executes well. For example, when I login through "gdm" using pam to authenticate against an ldap server /var/log/auth.log shows Any... (1 Reply)
Discussion started by: capibolso
1 Replies

7. UNIX for Dummies Questions & Answers

CRONTAB failure

am getting the following error while trying to create a new crontab file: (jravisha) jravisha- crontab -e no crontab for jravisha - using an empty one crontab: installing new crontab "/tmp/crontab.XXXXH3SJgR":1: premature EOF errors in crontab file, can't install. Do you want to retry the... (5 Replies)
Discussion started by: jithinravi
5 Replies

8. UNIX for Advanced & Expert Users

ssh RSA authentication failure

I am using an ssh pub key on two remote servers to allow ssh session without authentication. Both servers have the same id_rsa.pub copied from the host into the remote servers ~user/.ssh/authorized_keys. There is no passphrase for this key either. The problem is that I am able to ssh into one... (2 Replies)
Discussion started by: prkfriryce
2 Replies

9. Shell Programming and Scripting

Crontab failure.Can't open shared library

Plz advise on the following error for a crontab job i have scheduled for running a script /usr/lib/dld.sl: Can't open shared library: /home/build3p/PMReleases/Symphony711/HP-UX/rw/710/lib/libtls4d.sl /usr/lib/dld.sl: No such file or directory /ushhquest/data001/Scripts/Inform/Build_Data.sh:... (0 Replies)
Discussion started by: reader_regular
0 Replies

10. Programming

ld failure

Hi, I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Discussion started by: handak9
2 Replies
Login or Register to Ask a Question