bug-cvs
[Top][All Lists]
Advanced

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

Re: Shell script failed to read in .cvspass file


From: Derek Robert Price
Subject: Re: Shell script failed to read in .cvspass file
Date: Fri, 10 Sep 2004 11:57:24 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sherwin, Ziying (NIH/NLM) wrote:

>password set on CVS server for anonymous users. In our script, we set
>CVSROOT to use pserver, set CVS_PASSFILE to read a .cvspass file from
>previous logins and then use:
>
>    cvs status <filename>
>
>To check for updates.
>
>However, even with the presence of the cvs password file, we are prompted
>for password every single time, and, worst of all, the first time
entering


I think you must be reading the documentation for some other CVS
distribution.  Neither CVS_PASSFILE nor CVS_PASSWORD works or is
documented to work with this one.

You have two options.  As of recent versions of CVS, the following
CVSROOT will work:

    :pserver:<user>:<password>@<hostname>[:<port>]/path//to/repository

The other is to set the $HOME environment variable for your script.
This version of CVS always looks to $HOME/.cvspass for passwords.  Be
aware that setting $HOME could also cause CVS to look for some other
files in $HOME as well, including .cvswrappers & .cvsrc.

Cheers,

Derek

- --
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBQc7jLD1OTBfyMaQRAoGsAKCc1XjtXzB5PMT7fFPJQ+GZ1ZYHBwCg6WqP
9qlGC0gUpJ3/UHQ2SX7s+Ns=
=YYfB
-----END PGP SIGNATURE-----





reply via email to

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