I have not seen this problem using the cron supplied with RedHat 8.0 or 9. What errors are you getting when the USER variable isn't set? What version of sync_users are you using?
Jason On Mon, 2004-05-24 at 09:18, Randy Philipp wrote: > I have run into the problem that vixie-cron-3.0.1-74 on RedHat 9 is not > setting USER environment variable when running the sync_user cron job. > This breaks sync_user, and it will not work. It works fine if you run it > by hand. Has anyone else run into this problem on RedHat 9? > > The current fix I have put in place it modify sync_user to use the > following cron entry: > > */15 * * * * root USER=$LOGNAME /opt/opium/bin/sync_users >/dev/null 2>&1 > > In sync_user, be sure to change the definition of $cronline to the > following: > > $cronline = "*/$crondelay * * * * root USER=\$LOGNAME /opt/opium/bin/sync_users > >/dev/null 2>&1\n"; > > This is line 120 of sync_user. > > Hope someone finds this useful. > > Randy > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Oscar-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/oscar-users ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
