Re: Cron as Root and .netrc File

Holger.VanKoll_at_SWISSCOM.COM
Date: 01/30/04

  • Next message: John Jolet: "Re: Cron as Root and .netrc File"
    Date:         Fri, 30 Jan 2004 14:59:26 +0100
    To: aix-l@Princeton.EDU
    
    

    $HOME , as for every other user

    -----Original Message-----
    From: Mark Monroe [mailto:mark.monroe@FORMSANDSUPPLY.COM]
    Sent: Friday, January 30, 2004 2:51 PM
    To: aix-l@Princeton.EDU
    Subject: Cron as Root and .netrc File

    to All,

    I am trying to set up some automatic FTP'ing and am using the .netrc
    file. I have it working fine as a standard user but my hopes are to
    eventually schedule it to run via cron.

    Since it will be running as root I am wondering where the .netrc file
    should be located so that it can run via root through a cron'ed process.

    Any pointers or suggestions for automatic FTP'ing via cron as root would
    be greatly appreciated.

    Thanks guys,

    Mark


  • Next message: John Jolet: "Re: Cron as Root and .netrc File"

    Relevant Pages

    • [Fwd: OpenBase SQL multiple vulnerabilities Part Deux]
      ... # Writing to roots crontab seems to be fairly prompt at handing out root shells ... This ensures that cron is running when the fake root crontab is created. ... the OpenBase family of products have been enabling some of the most innovative business applications ...
      (Bugtraq)
    • Re: Cron as Root and .netrc File
      ... I need to automatically FTP a couple of files to a machine each day and since I already have cron running a couple of things it just seem to make sense to use that root cron and whatnot. ... Cron as Root and .netrc File ...
      (AIX-L)
    • RE: cron.daily stopped working
      ... expiration with command "passwd -f root " and then setup a test root ... cron. ... job in /etc/cron.daily just stopped working. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • Re: Cron job question
      ... > From: root@somedomain.nl (Cron Daemon) ... You've made the classic mistake of confusing the system crontab ... extra column defining which user ID the command should be run as. ... any new cron jobs for any user (including root) and leave the system ...
      (freebsd-questions)
    • dns and mail question
      ... I have several private networks that I vpn between. ... root run processes that send mail to our admin group, cron, logwatch you ... cron runs a job and generates a mail to root. ...
      (RedHat)