Hi

If I use the following command manually:

/usr/bin/rsync --rsh=/usr/bin/ssh -aurvlq --delete /projects/
MY_IP_ADDRESS:/projects

I get asked for the root password, and "projects" gets syncronized :)

But how do I do this from a bash shell script, so that it automatic uses the
root password?


Med venlig hilsen/Best regards
S�ren Neigaard
System Architect
................................
Mobilethink A/S
Arosgaarden
�boulevarden 23, 5.sal
DK - 8000 �rhus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801
Email: [EMAIL PROTECTED]
Web: www.mobilethink.dk
................................



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to