in reply to Re: Testing the creation of new files over SSH connection
in thread 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?
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.
|
|---|