User's cron jobs fail to run. Error in cron log: "!bad user"
(Doc ID 1010144.1)
Last updated on AUGUST 19, 2019
Applies to:Solaris Operating System - Version 8.0 and later
Solaris x64/x86 Operating System - Version 8 6/00 U1 and later
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:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!