From: "Michael Zimmermann" <zim@xxxxxxxx>
Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Subject: Re: [cobalt-developers] How can I rcp from a cron?
Date: Wed, 5 Jul 2000 08:14:38 +0200
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 addding
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
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers