Unix questions - Solaris 10 cron not running for one user - newbie question

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > December 2006 > Solaris 10 cron not running for one user - newbie question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Solaris 10 cron not running for one user - newbie question
underh20.scubadiving@gmail.com

2006-12-01, 7:23 pm

A strange thing is happening at our Solaris 10 server. User A cannot
run cron. The cron syntax, commands, source and destination file
permissions all checked OK. No mail was generated after the scheduled
cron run. The temp file in /tmp could be copied to userA's home
directory at the command line though. However, for another user B
within the same group, the same cron job ran successfully. The temp
file was copied to user B's home directory. There was no mail generated
either.

I am very puzzled by this. Could anyone shed some light and help me
resolving this simple problem please ? Much appreciated, Bill


##########BAD######################
user A > crontab -l

51 13 * * 1-6 /export/home/userA/copy.ksh


user A > cat /export/home/userA/copy.ksh

#!/bin/ksh
/usr/bin/cp /tmp/temp /export/home/userA

####################################




##########GOOD######################
user B > crontab -l

51 13 * * 1-6 /export/home/userB/copy.ksh


user B > cat /export/home/userB/copy.ksh

#!/bin/ksh
/usr/bin/cp /tmp/temp /export/home/userB

######################################

Bill Marcum

2006-12-01, 7:23 pm

On 1 Dec 2006 11:25:38 -0800, underh20.scubadiving@gmail.com
<underh20.scubadiving@gmail.com> wrote:
> A strange thing is happening at our Solaris 10 server. User A cannot
> run cron. The cron syntax, commands, source and destination file
> permissions all checked OK. No mail was generated after the scheduled
> cron run. The temp file in /tmp could be copied to userA's home
> directory at the command line though. However, for another user B
> within the same group, the same cron job ran successfully. The temp
> file was copied to user B's home directory. There was no mail generated
> either.
>

Is there anything in /etc/cron.allow or /etc/cron.deny?

humphrey.c.chan@gmail.com

2006-12-01, 7:23 pm

Hi Bill,

No. But we did look at /var/cron/log.
UserA's password has expired. We reset it and the cron is working
again.

Thanks,


Bill Marcum wrote:
> On 1 Dec 2006 11:25:38 -0800, underh20.scubadiving@gmail.com
> <underh20.scubadiving@gmail.com> wrote:
> Is there anything in /etc/cron.allow or /etc/cron.deny?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com