Søren Neigaard writes: > 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? > Try looking at the SSH key management articles on the following page: http://www.gentoo.org/index-articles.html
It works quite well, and should, I think, work for this situation. Ian Truelsen Masters program in Philosophy University of Manitoba, Winnipeg, Canada BA (Wilfrid Laurier University) Email: [EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list