The password is actually stored in a file in your $HOME directory called
.cvspass.
The format is :pserver:loginname@fqdn:/directory <hashed pw>
As long as that's there, you should be able to run CVS from a script
fine.
--
Juha
:: -----Original Message-----
:: From: owner-linux-xfs@xxxxxxxxxxx
:: [mailto:owner-linux-xfs@xxxxxxxxxxx] On Behalf Of Steve Lord
:: Sent: Saturday, 14 July 2001 03:54
:: To: Gonyou, Austin
:: Cc: linux-xfs@xxxxxxxxxxx
:: Subject: Re: Scripted CVS updates?
::
::
:: > I'm trying to script cvs updates with cron for once every
:: couple of days, or
:: > once a week. But, I must provide a login password to the
:: cvs server. Is
:: > there a way to do that easily? perhaps something like?
:: >
:: > cvs login<< EOF
:: > password
:: >
:: > EOF
:: >
::
:: I just cd into the cvs directory and run
::
:: cvs update -d .
::
:: no need for a password or anything else.
::
:: Steve
::
::
:: > Thanks in advance.
:: > --
:: > Austin Gonyou
:: > Systems Architect, CCNA
:: > Coremetrics, Inc.
:: > Phone: 512-796-9023
:: > email: austin@xxxxxxxxxxxxxxx
::
::
::
::
|