cron problem

From: A M (aseem_at_neurobs.com)
Date: 05/10/03

  • Next message: ar: "openssh on windows server 2003 rc2"
    Date: 9 May 2003 16:32:53 -0700
    
    

    Hi,

    I have a script which uses scp as root to do some syncing tasks. All
    it does is scp stuff from a remote machine to mine.

    The machine is a Redhat 8.0 with Openssh and key chain for key
    management.

    I can run the script from the command line and it works fine.
    Unfortunately when I cron it, all I get is permission denied. I added
    it using crontab -e as root.

    Any help would be greatly appreciated.

    Thanks
    AM


  • Next message: ar: "openssh on windows server 2003 rc2"

    Relevant Pages

    • Re: scp using root and retaining owners
      ... > with scp sounds normal? ... Normally if you copy a file to a remote machine you want to be able to ... You normally don't do things as root. ... However the 'tar | tar' is a well known unix idion, ...
      (comp.unix.shell)
    • mkdir in remote machine
      ... I am writing a BASH script to do some project copy between 2 ... I use "scp" as the copy command. ... what the script does is selectively copy files to remote machine. ... machine there is same project directory under /dst_path, ...
      (comp.unix.shell)
    • Re: crypted remote backup
      ... > What I have been doing is croning a script that ... > tarballs the right stuff, and then scp the file as another ... > logging in as root to copy a file over the net, ...
      (FreeBSD-Security)
    • IBM Informix Web DataBlade: Local root by design
      ... IBM Informix Web DataBlade: Local root by design ... Impact: Any user who can: 1) Save a Perl script anywhere on the server's ... admin right on any database can do it by loading the WDB module into ...
      (Bugtraq)
    • RE: Linux hacked
      ... I would also suggest using a simple script in the future that alerts ... Subject: Linux hacked ... To get back into your account you want to use, at the boot manager ... boot normally and you should be able to login as root with your new ...
      (Security-Basics)