Unless told otherwise, rsync uses rsh to contact the remote system.=20
Another popular option is ssh.  Both of these protocols use the logged-in=20
username, unless specified otherwise.  What rsync really does is "rsh=20
remotehost rsync --server-and-other-undocumented-options".  If you
can't=20
"rsh server rsync --version", rsync won't work with rsh.  Same
with ssh. I
think that tif you're going to an actual rsync server, the rsync daemon,=20
started with 'rsync --daemon', it offers your current username if the=20
rsyncd asks(anon rsyncd is more common).
In your question "The other way around is allow rsh without unix user
specified in the=20
command (without -l user) but i dont kwon how to make it work!"... The way
to get rsh to work without specifying the user is to have the=20
invoking user exist on the target machine.  That's very basic unix.
Tim Conway
tim.conway@philips.com
303.682.4917 office, 303.921.0301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, caesupport2 on AIM
"There are some who call me.... Tim?"
Jos=E9 Luis Barrera <jluis.barrera@olecenter.com>
Sent by: rsync-admin@lists.samba.org
09/04/2002 04:06 AM
Please respond to jluis.barrera
=20
        To:     <rsync@lists.samba.org>
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Rsync User
        Classification:=20
Hello all!
                 Does anybody knows what user specifies rsync if i dont=20
user user@host, just
host?
                 Maybe i can create an account for that user and make it=20
work...
                 The other way around is allow rsh without unix user=20
specified in the
command (without -l user) but i dont kwon how to make it work! Any idea?
                 Thanks! :-D
Jos=E9 Luis Barrera
Developer/Xpert OnLine
[www.xperttesting.com]
jluis.barrera@olecenter.com
[www.Olecenter.com]
Alcobendas/Madrid
"By the perception of illusion, we experience reality"
"Every picture holds a tale, every shade tells of a thousand words"
--=20
To unsubscribe or change options:=20
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html