A cron problem - "User account has expired"

ialex03

Well-Known Member
May 15, 2003
56
0
156
Hello.

Server OS: CentOS release 3.7 (Final)
The latest stable cpanel

I have a problem with cron. When it attempts to run any cron job the only messages I see in th /var/log cron are:

Jun 4 09:40:01 esc70 crond[30362]: User account has expired
Jun 4 09:40:01 esc70 crond[28280]: User account has expired
Jun 4 09:41:01 esc70 crond[14029]: User account has expired
Jun 4 09:41:01 esc70 crond[30239]: User account has expired
Jun 4 09:41:01 esc70 crond[27175]: User account has expired
Jun 4 09:42:01 esc70 crond[10497]: User account has expired
Jun 4 09:42:01 esc70 crond[20548]: User account has expired
Jun 4 09:42:01 esc70 crond[1299]: User account has expired
Jun 4 09:42:01 esc70 crond[1456]: User account has expired


Does anybody have experience resolving this problem? I cannot find anything even on google :(

Thank you very much.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
I found a variety of relevant hits on Google searching for crond user account has expired. Looks like you need to have a look into chage:

man chage