On Tue, 07 Dec 1999, you wrote:
> I'm trying to run rdate as root from a machine on a network under a cron
> job.
>
> if I log in and su -l to root and run
>
> rdate -s clock.psu.edu
>
> it works. If I run it as a cron job, I get
>
> rdate: connection refused
>
> in the output of the cron job. I've tried other servers. same result
>
> Any ideas?
>
chmod +s /usr/bin/rdate
Unless you've already done that. Cron jobs don't necessarily run SUID
root, AFAIK, they take on the priveleges of the account they are
created under.
John