[SunHELP] cron - bad user

velociraptor velociraptor at gmail.com
Fri Aug 27 13:35:41 CDT 2004


On Wed, 25 Aug 2004 14:00:19 +0200, Andreas Putzo
<andreas.putzo at araldirekt.de> wrote:
> Hello,
> 
> i am currently setting up a backup system on several machines. Therefor i
> created the user "backup" with no password, so in /etc/shadow it looks like
> this:
> backup:*LK*:::::::
> Then i created a crontab for user backup to let him do the backups every
> night.
> Now it becomes curious: This setup works fine on every machine, *except* one.
> I found in /var/cron/log this:
> ! bad user (backup) Wed Aug 25 12:30:00 2004
> I googled a bit and found out, that locked out users not allowed to use cron,
> so i changed in /etc/shadow the *LK* with NP and it worked.
> But i don't get, why the other machines didn't complain about the fact,
> that 'backup' is 'locked out' on the system.
> /etc/cron.d/cron.deny are identically on all machines.
> It's working know, so it is not a big problem at all, but i really want
> to know, why the behaviour differs.
> All systems are running solaris 8.
> If you have any hints, please let me know.

Using NP should fix the issue.  Perhaps the shadow password
file does match the time/date stamp it should?  Have you tried
backing it up, then running "pwconv" and see if that fixes it?

=Nadine=



More information about the SunHELP mailing list