Chuck Swiger wrote:
[EMAIL PROTECTED] wrote:

Quoting Chuck Swiger <[EMAIL PROTECTED]>:

The documentation for CVS is not especially well-known for being inclusive. Are you using CVS over SSH or in pserver mode? The first case requires you to
set up password-less SSH authentication via ssh-keygen, the latter uses the "cvs
login" mechanism.


I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
Is it possible to specify the password on the command line with cvs login (it
isn't secret anyhow)?


6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs
CVS password:

[ Use "anoncvs" for the password. ]

8-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...

This looks like you still have to type in the password from the terminal. I would like to update the source each night from a cron job. Is there really no way to do that?

With OpenBSD i can simply do:

# export [EMAIL PROTECTED]:/cvs
# cvs co -rOPENBSD_3_3 src/sys
cvs server: Updating src/sys
U src/sys/Makefile
cvs server: Updating src/sys/adosfs
U src/sys/adosfs/adlookup.c
U src/sys/adosfs/adosfs.h
U src/sys/adosfs/adutil.c
U src/sys/adosfs/advfsops.c
U src/sys/adosfs/advnops.c
cvs server: Updating src/sys/altq
^C

without the need to type in a password.

Seems i have to use CVSUP on FreeBSD..

- Heinrich

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to