Reply To: CVS and user ID / password

Product Compare Forums Multi-Edit Support CVS and user ID / password Reply To: CVS and user ID / password

#4842
Ernie Zapata
Participant

Haven’t tried this, of course, but can you redirect it in on the command line – < passwd – or somesuch?[/quote:rkvsl0hf]

Command line redirection does not work, as CVS is using _getch() for console input, as opposed to getch() for reading stdin.

Or, bypass cvs login entirely and just write the .cvspass file?[/quote:rkvsl0hf]

The CVS login routine builds this .cvspass file, but encodes the actual password. I guess one could parse through the source to CVS and determine the encoding scheme to build the .cvspass file.