NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [NetBSD-9.0] cron and pam_authenticate failed



Christos Zoulas a écrit :
> In article <26d69df9-9079-f84e-9c5b-7176721507b0%systella.fr@localhost>,
> BERTRAND Joël  <joel.bertrand%systella.fr@localhost> wrote:
>> 	Hello,
>>
>> 	On a NetBSD server, I have seen today that cron doesn't launch process
>> anymore. Thus, I have tried to start cron from a root shell with :
>>
>> # cron -n -x sch,proc
>>
>> 	Output is :
>>
>> [1848] cron started
>> ...
>> [1848] do_command(/usr/libexec/atrun, (root,0,0))
>> [1848] main process returning to work
>> [23778] child_process('/usr/libexec/atrun')
>> [1848] Target time=1591463460, sec-to-wait=60
>> log_it: (CRON 23778) pam_authenticate failed (System error)
>> [23778] child process done (rc=1), exiting
>> [1848] sigchld...pid #23778 died, stat=1
>> [1848] sigchld...no children
>> [1848] tick(11,19,5,5,6)
>> ...
>>
>> 	If I understand, it tries to start /usr/libexec/atrun and pam subsystem
>> returns "pam_authenticate failed (System error)". I suppose there is a
>> bad interaction between cron and pam but I don't know to fix this issue.
>>
> 
> Seems to work here; I would check /etc/pam.d/cron

	I don't have this file. I have checked in /usr/src/obj also. Where is
this file in source tree ?

	Best regards,

	JB


Home | Main Index | Thread Index | Old Index