[CentOS] Chicken and egg question: passwd and cronjob
Fajar Priyanto
fajarpri at arinet.orgThu Jun 23 07:54:21 UTC 2011
- Previous message: [CentOS] Chicken and egg question: passwd and cronjob
- Next message: [CentOS] Chicken and egg question: passwd and cronjob
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jun 23, 2011 at 3:44 PM, Michael Gliwinski <Michael.Gliwinski at henderson-group.com> 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
- Previous message: [CentOS] Chicken and egg question: passwd and cronjob
- Next message: [CentOS] Chicken and egg question: passwd and cronjob
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list