tar some files on a linux system from a remote unix system and ftp them to the unix system
Posted on 2008-10-02
I want to run tar on a linux system from a SUN Solaris 10 system to tar up a file system and then ftp the tar file to the unix system. My problem is that I am not the only one using the linux system as root. I keep putting the tar and ftp in the root cron on the linux system but it keeps getting deleted so I need to figure out a way to run this from my unix system where no one else logs on. I thought I could use rsh but have never used it before and am not sure what needs to be setup. I am a bit reluctant to put a .rhost file on this linux system but cannot figure out another way to do the tar and ftp. I can't change the way the linux system files are setup as they are production and as I said used by others.
Any ideas or suggestions would be really appreciated.