info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flexible password file location


From: E B
Subject: Re: flexible password file location
Date: Wed, 6 Feb 2002 06:10:38 +0000 (GMT)

 --- Larry Jones <address@hidden> wrote: >
=?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.


My current client is 1.10.5 and doesnt support this.
Any idea if wincvs 1.2/1.3 has this 1.11.1 client?
btw, why is it not recommended? The reason I am asking
this is, the command cvs login expects password
strictly from stdin (like the passwd command).
Btw, how does Ant get away with this?

> 
> > 2. Is the location of .cvspass flexible (it seems
> > not, but am i correct?).
> 
> No, it's not.
> 

This is irrelavant now :)



> > 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.
> 


Okay, thats a good news! The .cvspass file indeed has
all the users and passords for different hosts. 



> -Larry Jones
> 
> You're going to be pretty lonely in the nursing
> home. -- Calvin
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]