-----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: [EMAIL PROTECTED] 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----- _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs