Re: Chicken and egg question: passwd and cronjob

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



On Thu, Jun 23, 2011 at 3:44 PM, Michael Gliwinski
<Michael.Gliwinski@xxxxxxxxxxxxxxxxxxx> wrote:
> On Thursday 23 Jun 2011 07:46:01 Fajar Priyanto wrote:
>> I understand that cronjob for root will fail when the password expires.
>
> AFAIK, account does not need to have a password at all for cron to work.
>
> Apart from that if you're going to automatically reset root's password you may
> as well just avoid expiring it at all.

In /var/log/cron I see this when the password expires. And cronjob fail to run.

Jun 23 02:50:01 my-srv crond[4424]: CRON (root) ERROR: failed to open
PAM security session: Success
Jun 23 02:50:01 my-srv crond[4424]: CRON (root) ERROR: cannot set
security context
Jun 23 03:00:01 my-srv crond[4425]: Authentication token is no longer
valid; new one required
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux