My Oracle Support Banner

User's cron jobs fail to run. Error in cron log: "!bad user" (Doc ID 1010144.1)

Last updated on APRIL 11, 2018

Applies to:

Solaris Operating System - Version 8.0 and later
Solaris x64/x86 Operating System - Version 8 6/00 U1 and later
All Platforms

Goal

This document describes how to resolve user's cron jobs fail to run with the following error:

Error in cron log: !bad user


Cron processes run as root (superuser). When cron starts a user's cron job, it needs to set the group id(gid) and user id(uid) of that cronjob, to that of the user who owns it. If the user's account has a problem, then the cron job will fail to run, and the /var/cron/log file will show the following entry:
!bad user

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.