NetBSD-Users archive

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

[NetBSD-9.0] cron and pam_authenticate failed



	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.

	Ideas are welcome,

	JB


Home | Main Index | Thread Index | Old Index