Oracle Solaris System Administration (MOSC)

MOSC Banner

Warning - Invalid account: 'root' not allowed to execute cronjobs

edited Mar 31, 2020 3:22AM in Oracle Solaris System Administration (MOSC) 3 commentsAnswered ✓

Dears,

I got "Warning - Invalid account: 'root' not allowed to execute cronjobs" warning message after executing the "crontab -e" command by root user. This actually prevent root cron jobs from running. However, with the "admin" user, crontab command works fine.

Hint: the root user is not listed on "/etc/cron.d/cron.deny" file. Moreover, the root account is not locked on "/etc/shadow" file. Also, I have tried to create "/etc/cron.d/cron.allow" file and restart cron service but the same issue still appear.

I have compared executing this command in another server by root user (with same OS version). It works fine on the other server.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center