[Dirvish] Re: ssh as root going away

Ken Dyke kdyke at keycomputerconsultants.com
Thu Jan 11 21:01:30 UTC 2007


On Thu, Jan 11, 2007 at 11:32:03AM -0700, Ken Dyke (kdyke at keycomputerconsultants.com) wrote:
> On Tue, Sep 19, 2006 at 11:12:35AM +0200, Paul Slootman (paul at debian.org) wrote:
> >                                                              Otherwise
> > you probably need to connect as some other user and use sudo (without
> > password) to run rsync; there was some discussion on this topic over on
> > the rsync mailing list this month.
> 
> Well, I was able to ignore this problem for 4 months. :-)
> But now am up against a deadline to make it work.
> 
> How do I get dirvish to invoke rsync with sudo?

I put the line:

PATH=~/bin:$PATH

in .bash_profile and then wrote a simple script called ~/bin/rsync that
contains:

#!/bin/bash
sudo rsync $@

This did not work however...
-- 
Chief Gadgeteer
Elegant Innovations



More information about the Dirvish mailing list