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[14861]: Authentication failure
Dec 11 16:38:01 Test cron[14861]: Authentication failure
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (pidfile fd = 3)
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (Skipping@reboot jobs -- not system startup)
Dec 11 16:39:01 Test cron[14957]: Authentication failure
did someone had the same problem ?
ubuntu cron
add a comment |
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[14861]: Authentication failure
Dec 11 16:38:01 Test cron[14861]: Authentication failure
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (pidfile fd = 3)
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (Skipping@reboot jobs -- not system startup)
Dec 11 16:39:01 Test cron[14957]: Authentication failure
did someone had the same problem ?
ubuntu cron
add a comment |
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[14861]: Authentication failure
Dec 11 16:38:01 Test cron[14861]: Authentication failure
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (pidfile fd = 3)
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (Skipping@reboot jobs -- not system startup)
Dec 11 16:39:01 Test cron[14957]: Authentication failure
did someone had the same problem ?
ubuntu cron
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[14861]: Authentication failure
Dec 11 16:38:01 Test cron[14861]: Authentication failure
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (pidfile fd = 3)
Dec 11 16:38:09 Test cron[14957]: (CRON) INFO (Skipping@reboot jobs -- not system startup)
Dec 11 16:39:01 Test cron[14957]: Authentication failure
did someone had the same problem ?
ubuntu cron
ubuntu cron
asked Dec 12 '17 at 1:37
Jcob
213
213
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
check ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs.
-rw------- 1 root root 338 Dec 8 12:49 root
add a comment |
could you check the permission and ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs?
Also if the user account is locked? So please check the /etc/passwd file's entry for that user. It should not have expired or days set for password expiration. If that checks out fine, the you would want to see if the /etc/cron.allow and /etc/cron.deny files are ok and do not contain the user which is running the cron. Seeing your reply, i believe its root user and i am hoping the allow and deny files are ok.
Next you would want to check /etc/security/access.conf and see if adding the below entry helps you or not
+ALL:cron crond
but make sure you have backed up the access.conf and the entry is added BEFORE/ABOVE
-:ALL:ALL
Now if that also does not help, then you would need to check the authentication module you have configured in the system, kerberos, pan, ldap, which ever. I would suggest you go through the above drill and Let us know further.
I try everything but didn't want work , I m using ldap .
– Jcob
Dec 14 '17 at 20:41
Is this issue resolved? Could you please provide the permissions on /etc/passwd and /etc/shadow
– Diganto Paul
Dec 18 '17 at 6:45
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f410326%2fcron-authentication-failure-error-in-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
check ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs.
-rw------- 1 root root 338 Dec 8 12:49 root
add a comment |
check ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs.
-rw------- 1 root root 338 Dec 8 12:49 root
add a comment |
check ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs.
-rw------- 1 root root 338 Dec 8 12:49 root
check ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs.
-rw------- 1 root root 338 Dec 8 12:49 root
answered Dec 12 '17 at 2:00
Jcob
213
213
add a comment |
add a comment |
could you check the permission and ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs?
Also if the user account is locked? So please check the /etc/passwd file's entry for that user. It should not have expired or days set for password expiration. If that checks out fine, the you would want to see if the /etc/cron.allow and /etc/cron.deny files are ok and do not contain the user which is running the cron. Seeing your reply, i believe its root user and i am hoping the allow and deny files are ok.
Next you would want to check /etc/security/access.conf and see if adding the below entry helps you or not
+ALL:cron crond
but make sure you have backed up the access.conf and the entry is added BEFORE/ABOVE
-:ALL:ALL
Now if that also does not help, then you would need to check the authentication module you have configured in the system, kerberos, pan, ldap, which ever. I would suggest you go through the above drill and Let us know further.
I try everything but didn't want work , I m using ldap .
– Jcob
Dec 14 '17 at 20:41
Is this issue resolved? Could you please provide the permissions on /etc/passwd and /etc/shadow
– Diganto Paul
Dec 18 '17 at 6:45
add a comment |
could you check the permission and ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs?
Also if the user account is locked? So please check the /etc/passwd file's entry for that user. It should not have expired or days set for password expiration. If that checks out fine, the you would want to see if the /etc/cron.allow and /etc/cron.deny files are ok and do not contain the user which is running the cron. Seeing your reply, i believe its root user and i am hoping the allow and deny files are ok.
Next you would want to check /etc/security/access.conf and see if adding the below entry helps you or not
+ALL:cron crond
but make sure you have backed up the access.conf and the entry is added BEFORE/ABOVE
-:ALL:ALL
Now if that also does not help, then you would need to check the authentication module you have configured in the system, kerberos, pan, ldap, which ever. I would suggest you go through the above drill and Let us know further.
I try everything but didn't want work , I m using ldap .
– Jcob
Dec 14 '17 at 20:41
Is this issue resolved? Could you please provide the permissions on /etc/passwd and /etc/shadow
– Diganto Paul
Dec 18 '17 at 6:45
add a comment |
could you check the permission and ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs?
Also if the user account is locked? So please check the /etc/passwd file's entry for that user. It should not have expired or days set for password expiration. If that checks out fine, the you would want to see if the /etc/cron.allow and /etc/cron.deny files are ok and do not contain the user which is running the cron. Seeing your reply, i believe its root user and i am hoping the allow and deny files are ok.
Next you would want to check /etc/security/access.conf and see if adding the below entry helps you or not
+ALL:cron crond
but make sure you have backed up the access.conf and the entry is added BEFORE/ABOVE
-:ALL:ALL
Now if that also does not help, then you would need to check the authentication module you have configured in the system, kerberos, pan, ldap, which ever. I would suggest you go through the above drill and Let us know further.
could you check the permission and ownership of the cron file for the user using to run the cron in /var/spool/cron/crontabs?
Also if the user account is locked? So please check the /etc/passwd file's entry for that user. It should not have expired or days set for password expiration. If that checks out fine, the you would want to see if the /etc/cron.allow and /etc/cron.deny files are ok and do not contain the user which is running the cron. Seeing your reply, i believe its root user and i am hoping the allow and deny files are ok.
Next you would want to check /etc/security/access.conf and see if adding the below entry helps you or not
+ALL:cron crond
but make sure you have backed up the access.conf and the entry is added BEFORE/ABOVE
-:ALL:ALL
Now if that also does not help, then you would need to check the authentication module you have configured in the system, kerberos, pan, ldap, which ever. I would suggest you go through the above drill and Let us know further.
edited Dec 12 '17 at 2:50
answered Dec 12 '17 at 1:50
Diganto Paul
315
315
I try everything but didn't want work , I m using ldap .
– Jcob
Dec 14 '17 at 20:41
Is this issue resolved? Could you please provide the permissions on /etc/passwd and /etc/shadow
– Diganto Paul
Dec 18 '17 at 6:45
add a comment |
I try everything but didn't want work , I m using ldap .
– Jcob
Dec 14 '17 at 20:41
Is this issue resolved? Could you please provide the permissions on /etc/passwd and /etc/shadow
– Diganto Paul
Dec 18 '17 at 6:45
I try everything but didn't want work , I m using ldap .
– Jcob
Dec 14 '17 at 20:41
I try everything but didn't want work , I m using ldap .
– Jcob
Dec 14 '17 at 20:41
Is this issue resolved? Could you please provide the permissions on /etc/passwd and /etc/shadow
– Diganto Paul
Dec 18 '17 at 6:45
Is this issue resolved? Could you please provide the permissions on /etc/passwd and /etc/shadow
– Diganto Paul
Dec 18 '17 at 6:45
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f410326%2fcron-authentication-failure-error-in-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown