[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flexible password file location
From: |
Larry Jones |
Subject: |
Re: flexible password file location |
Date: |
Tue, 5 Feb 2002 11:45:41 -0500 (EST) |
=?iso-8859-1?q?E=20B?= writes:
>
> 1. Can passwd be supplied using any mechanism
> other than ~/.cvspass
As of CVS 1.11.1, you can specify the password in the CVSROOT:
:pserver:user:address@hidden/cvsroot
but it's not recommended.
> 2. Is the location of .cvspass flexible (it seems
> not, but am i correct?).
No, it's not.
> 3. lets say I am user X, and when I login, I have
> this new file ~X/.cvsfile. Now from the same shell
> I change username to Y in my CVSROOT, and do a login.
> the same ~X/.cvsfile is getting modified. and not
> ~Y/.cvspass. I am struck :-(
I presume you mean .cvspass, not .cvsfile.
You're not struck, or even stuck. If you look at your ~/.cvspass file,
you'll see that it contains *both* usernames/passwords. Logging in to a
repository is not like logging in to a system -- all it does is cause
CVS to remember the corresponding password (in ~/.cvspass) so you don't
have to type it in every time you want to do something. You typically
log in to a repository only once and never log out -- I'm currently
logged in to 14(!) repositories. So, the fact that all of the passwords
are going into the same file is irrelevant -- you can still simulate
multiple users just fine.
-Larry Jones
You're going to be pretty lonely in the nursing home. -- Calvin