Displaying 20 results from an estimated 2000 matches similar to: "a gotcha with cron and 4.2"
2007 Sep 15
1
Cron set_loginuid failed opening loginuid errors.
Hi all,
I've had this error rear it's ugly head again and I'm not exactly
sure why. The output in /var/log/message is:
crond[14764]: pam_loginuid(crond:session): set_loginuid failed
opening loginuid
crond[14765]: pam_loginuid(crond:session): set_loginuid failed
opening loginuid
crond[14811]: pam_loginuid(crond:session): set_loginuid failed
opening loginuid
2010 Sep 14
1
cron breaking when enabling ldap
Hi
When I enable a box to do authentication using LDAP it breaks cron for users like jboss.
I get the following in /var/log/secure
Sep 14 15:25:01 exoipatest01 crond[7214]: pam_access(crond:account): access denied for user `jboss' from `cron'
I have the following in /etc/ldap.conf
nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,tomcat,radiusd,news,mailman,nscd,jboss
2017 Jul 20
0
Cron sending to root after changing MAILTO
Well, I feel silly.? There are three places MAILTO can affect crond: /etc/crontab, /etc/crond.d/0hourly, and /etc/anacrontab.? Once I set this in these 3 files, I started getting mail from crond.? Thank you all for your help.
---
Chad Cordero
Information Technology Consultant
Enterprise & Cloud Services
Information Technology Services
California State University, San Bernardino
5500
2007 Jul 30
0
cron ignore line?
I am troubleshooting a new cron line that is triggering logcheck.
Other cron entries do not trigger logcheck, even though they are
logged in /var/log/syslog
This is a security trigger, and I know it is because of certain words
in the cron entry. What I can't figure out is which entry in
logcheck is ignoring the other cron events? Here is a cron log from
syslog that does not
2017 Jul 20
0
Cron sending to root after changing MAILTO
On Thu, July 20, 2017 8:54 am, Richard wrote:
>
>> Date: Thursday, July 20, 2017 02:25:52 +0000
>> From: Richard <lists-centos at listmail.innovate.net>
>>
>>> Date: Wednesday, July 19, 2017 23:31:10 +0000
>>> From: Chad Cordero <ccordero at csusb.edu>
>>>
>>> It???s being rejected before it even reaches the mailbox, so
2000 Mar 30
0
Samba dosn't seem to work when bridging is enabled under FreeBSD 3.4
Hi,
I have been trying to set up a network bridge on my FreeBSD 3.4 machine (hades),
and as soon as I enable the bridge, Samba stops servicing requests from both
sides of the network.
The following is a 'diagram' to give you an idea of my setup.
|------|
|----+Charon|
|-------| |----| | |------|
|Neptune+----+Hades+----|
2020 Feb 27
3
CentOS 8.1 cron does not send mail
Hi,
we experience difficulties with crond behaviour sending mail since
CentOS 8.1. The cron job is the same like we used in CentOS 7.
crontab -l
/usr/bin/python3 -c 'import random; import time;
time.sleep(random.random() * 3600)' && /usr/local/bin/backup.sh
backup.sh writes the backup to the remote backup server. There are
around 30 machines with the same cron job. The python
2020 Apr 06
0
CentOS 8.1 cron does not send mail
On Mon, 6 Apr 2020 at 06:59, Tobias Kirchhofer <collect at shift.agency> wrote:
> On 6 Apr 2020, at 12:21, Stephen John Smoogen wrote:
>
> > On Mon, 6 Apr 2020 at 04:16, Tobias Kirchhofer <collect at shift.agency>
> > wrote:
> >
> >> On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote:
> >>
> >>>>>> we experience difficulties
2020 Apr 06
2
CentOS 8.1 cron does not send mail
> On Mon, 6 Apr 2020 at 06:59, Tobias Kirchhofer <collect at shift.agency>
> wrote:
>
>> On 6 Apr 2020, at 12:21, Stephen John Smoogen wrote:
>>
>> > On Mon, 6 Apr 2020 at 04:16, Tobias Kirchhofer <collect at shift.agency>
>> > wrote:
>> >
>> >> On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote:
>> >>
>>
2016 Apr 23
0
cron
On Saturday 23 of April 2016 10:08:54 AM Kahlil Hodgson wrote:
> Anything interesting in the logs?
>
> sudo journalctl -xf _SYSTEMD_UNIT=crond.service
Don't know.
[root at kohrin cron.d]# sudo journalctl -xf _SYSTEMD_UNIT=crond.service
-- Logs begin at ?ro 2015-12-02 22:34:16 CET. --
kwi 22 23:11:01 vz471 crond[30534]: (*system*) RELOAD
(/etc/cron.d/osticket-cron)
kwi 22 23:13:01
2017 Jul 20
4
Cron sending to root after changing MAILTO
> Date: Thursday, July 20, 2017 02:25:52 +0000
> From: Richard <lists-centos at listmail.innovate.net>
>
>> Date: Wednesday, July 19, 2017 23:31:10 +0000
>> From: Chad Cordero <ccordero at csusb.edu>
>>
>> It?s being rejected before it even reaches the mailbox, so
>> forwarding won?t work.? Crond should really be using the MAILTO
>>
2020 Apr 06
0
CentOS 8.1 cron does not send mail
On Mon, 6 Apr 2020 at 04:16, Tobias Kirchhofer <collect at shift.agency> wrote:
> On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote:
>
> >>>> we experience difficulties with crond behaviour sending mail since
> >>>> CentOS 8.1. The cron job is the same like we used in CentOS 7.
> >
> > Meanwhile we found the reason for the bug - actually we do
2006 Nov 21
1
Samba selectively obeying pam restrictions
Having a difficult problem getting my pam_access.so module enforced on a 3.0.22 version of Samba.
Here is my /etc/pam.d/samba file:
auth required pam_winbind.so debug
account required pam_access.so
account sufficient pam_winbind.so debug
account include system-auth
session include system-auth
session required pam_winbind.so debug
My
2017 Jul 19
5
Cron sending to root after changing MAILTO
I am running CentOS 7 on an outbound gateway server running Postfix.? I have a couple of cron jobs I was expecting to see in my email that never showed up.? It turns out that they were delivered to root, which is restricted on our exchange server, instead of the address I defined.? Please help.
# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=ecssupport at
2018 Jul 02
2
cron.daily and others, not running
Hello there,
I've just noticed that scripts in /etc/cron.{daily,weekly,...} are not
launched for several weeks (I noticed a `locate` not finding a recently
added binary). Exactly, it's since June 02, and `# service cron status`
says:
Redirecting to /bin/systemctl status crond.service
* crond.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled;
2002 Jun 03
1
WinXP allows login to expired/forbidden accounts
Hi,
I've stumbled upon this problem while trying to limit access to specific
machine to specific domain users. I did it by setting Samba to obey PAM
restrictions, and then using the pam_access PAM module ('account' clause)
to do user validation (described below).
On Win2000, this works fine - if an unauthorized user tries to login,
Win2000 says 'Account not permitted to
2020 Apr 06
2
CentOS 8.1 cron does not send mail
On 6 Apr 2020, at 12:21, Stephen John Smoogen wrote:
> On Mon, 6 Apr 2020 at 04:16, Tobias Kirchhofer <collect at shift.agency>
> wrote:
>
>> On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote:
>>
>>>>>> we experience difficulties with crond behaviour sending mail
>>>>>> since
>>>>>> CentOS 8.1. The cron job is the
2014 Feb 23
1
Problem with cron
I have a root cron job that powers down my server every day at 1am and
6pm. The output of '# crontab -l' is shown below.
* 1,18 * * * poweroff
Last night, after the server powered down at 6pm, I decided I wanted to
use the server so I started it with the power button. The server, after
a minute or so, powered itself down. This behaviour happened repeatedly
until I waited past 7pm.
2006 Nov 29
1
pam_access not working?
Hi,
I am having a strange problem, where I cannot get pam_access to work as
intended. I have placed the following line in /etc/pam.d/system-auth
account required /lib/security/pam_access.so
Then, in /etc/security/access.conf, I have put the following line:
-:mok:10.14.44.104
I.e. I should prevent myself from logging on from host 10.14.44.104.
However, when I try to log on (using
2020 Apr 06
2
CentOS 8.1 cron does not send mail
On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote:
>>>> we experience difficulties with crond behaviour sending mail since
>>>> CentOS 8.1. The cron job is the same like we used in CentOS 7.
>
> Meanwhile we found the reason for the bug - actually we do not know if
> it is related to a specific version of CentOS or a specific kind of
> command as cron job.