in reply to Testing the creation of new files over SSH connection

If your script can create the files without having to sudo why can't it delete them? And for automating ssh why not setup public keys with no pass phrase?
  • Comment on Re: Testing the creation of new files over SSH connection

Replies are listed 'Best First'.
Re^2: Testing the creation of new files over SSH connection
by jkeenan1 (Deacon) on Jun 20, 2006 at 02:39 UTC
    Plankton wrote:

    If your script can create the files without having to sudo why can't it delete them? And for automating ssh why not setup public keys with no pass phrase?

    My script does a system call to one of the company's scripts. The latter handles all the fancy stuff internally; I am limited to supplying options to it. Since the latter doesn't delete the lock files (it simply overwrites them on the next pass, but must run as a privileged user), I have to somehow.

    As for the keys suggestion, I will have to discuss this with the sysadmins, as the place is very security conscious. Thank you very much.

    Jim Keenan