"! bad user" in /var/cron/log

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: I received the following error on a Solaris 8 SPARC 2/04 release (117350-50 patch level) system: > CMD: ''command'' > lntech 23415 c Fri Apr 25 10:34:00 2008 ! bad user (lntech) Fri A...)
Line 2: Line 2:
> CMD: ''command''
> CMD: ''command''
> lntech 23415 c Fri Apr 25 10:34:00 2008
> lntech 23415 c Fri Apr 25 10:34:00 2008
-
! bad user (lntech) Fri Apr 25 10:34:00 2008
+
'''! bad user''' (lntech) Fri Apr 25 10:34:00 2008
< lntech 23415 c Fri Apr 25 10:34:00 2008 rc=1
< lntech 23415 c Fri Apr 25 10:34:00 2008 rc=1

Revision as of 15:39, 25 April 2008

I received the following error on a Solaris 8 SPARC 2/04 release (117350-50 patch level) system:

>  CMD: command
>  lntech 23415 c Fri Apr 25 10:34:00 2008
! bad user (lntech) Fri Apr 25 10:34:00 2008
<  lntech 23415 c Fri Apr 25 10:34:00 2008 rc=1

The user lntech is an LDAP account. The account is not expired, although I don't think this would matter (see SunSolve Document ID 204893). The user was added to /etc/cron.d/cron.allow, and could edit its crontab.

Restarting the cron daemon fixed the problem; sending the cron daemon a SIGHUP did not.

 ! SIGTERM Fri Apr 25 10:36:21 2008
! ******* CRON ABORTED ******** Fri Apr 25 10:36:21 2008
! *** cron started ***   pid = 23433 Fri Apr 25 10:36:24 2008
>  CMD: command
>  lntech 23440 c Fri Apr 25 10:37:00 2008
<  lntech 23440 c Fri Apr 25 10:37:00 2008
Personal tools