using uid instead of USER or LOGNAME

Dave Dykstra dwd at
Sat Dec 8 04:06:35 EST 2001

On Fri, Dec 07, 2001 at 10:53:17AM -0600, Holstein, Brian wrote:
> Are there any known patches to use a users effective uid rather than the 
> environment variables USER or LOGNAME with an rsync server. Any suggestions 
> would be appreciated.

The server doesn't use those variables, but the client does when talking to
an rsync server so I'm assuming that's what you mean.  All you should have
to do on the client side is set the $USER environment variable or
explicitly add a "user@" before the host name on the client command line,
no patch is needed.

- Dave Dykstra

More information about the rsync mailing list