[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] How can I rcp from a cron?
- Subject: Re: [cobalt-developers] How can I rcp from a cron?
- From: "Michael Zimmermann" <zim@xxxxxxxx>
- Date: Tue Jul 4 23:14:06 2000
From: sara starre <perl_rocks@xxxxxxxxxxx>
> If I execute a perlscript to rcp to the remote node, logged in as userx,
it
> works great. If I make a crontab entry as the same user, I get permission
> error. I checked crond and its running as root, so I thought addeding root
> to the .rhosts would fix it.
Cron is _allways_ running as root.
You like scating on thin ice, using rcp and trying that as root! Very
couragious.
Why don't you 'su' to userx in your crontab-procedure and then try the rcp?
And what about using scp and some better authorization sheme than .rhosts?
just my 1.5 cents
Michael