[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS Manual, section 2.9.2
From: |
Eric Siegerman |
Subject: |
Re: CVS Manual, section 2.9.2 |
Date: |
Tue, 25 Mar 2003 19:50:43 -0500 |
User-agent: |
Mutt/1.2.5i |
On Tue, Mar 25, 2003 at 04:50:41PM -0700, John Daues wrote:
> In the CVS manual, in section 2.9.2 Connecting with rsh, it says:
> ---
> For example, suppose you are the user `mozart' on the local machine
> `toe.example.com', and the server machine is `faun.example.org'. On
> faun, put the following line into the file `.rhosts' in `bach''s home
> directory:
>
> toe.example.com mozart
>
> Then test that `rsh' is working with
>
> rsh -l bach faun.example.org 'echo $PATH'
> ---
> Should the 2 occurences of "bach" be replaced with "mozart"?
> (or vice-versa). If not, who is bach?
Arnold.
> (there's a setup for a joke)
Ok, so I had to bite.
Seriously, the names should *not* be replaced. "bach" is the
repo's owner, on faun. You can connect via rsh to a repo on a
machine where your username is spelled differently, and the
example is constructed to demonstrate that. A better choice of
names might have been "bach" and "jsb", to suggest that they're
the same person.
It's also possible to use this capability in the way the example
implies -- to let entirely different people all access the repo
using the same login on the server. Whether you *should* set
things up that way is a matter for serious -- indeed, extended,
recurring, and flame-prone -- debate.
I don't blame you for being confused. The example never says who
"bach" is; you have to infer it. I'll be sending a patch for
that to bug-cvs in a minute.
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
| | /
A distributed system is one on which I cannot get any work done,
because a machine I have never heard of has crashed.
- Leslie Lamport