I would like to perform the following:
1.My source system has all the EBS application server files under /u01/applprod. This directory is owned by 'applprod'.
2. My remote directory is the same directory and also owned by applprod.
3. However, for me to sign into either server I have to log in using my linux user name (joesmoe), and then su to the applprod user (sudo su - applprod).
So from the source server I run the following command:
rsync -avzpe ssh /u01/applprod joesmoe@apploraserver:/u01/applprod
How can I change from user 'joesmoe' to user 'applprod' in this rsync? The rsync will fail because user joesmoe cannot overwrite the files. However, from 'joesmoe' I can su to applprod user and ever sudo to root? Any ideas?