[Top][All Lists]

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

Re: Automatically specify password

From: Harald Kucharek
Subject: Re: Automatically specify password
Date: Thu, 13 Sep 2001 10:18:23 +0200

Pieter Meyer wrote:
> I am trying to do a shell script to automatically login, update multiple
> modules and then logout.
> One thing I am trying to avoid is typing in the password every-time. I am
> however having difficulty in getting this section done that needs to
> continue without asking for a password. All the files exist and the
> directories is pointing to the right places.
> My current cvs version is WinCvs 1.2.
> I am using MKS Toolkit on WIN 2000 running a standard shell script.
> sh cvs_upd
> # cvs_upd script files
> HOME=d:/cvswork ; export HOME
> CVSROOT=/cvs ; export CVSROOT
> D:/WinCvs~1.2/cvs.exe -d :pserver:pieter:address@hidden:/cvs login
> cd d:/cvswork/module1
> D:/WinCvs~1.2/cvs.exe -P
> cd d:/cvswork/module2
> D:/WinCvs~1.2/cvs.exe -P
> D:/WinCvs~1.2/cvs.exe -d logout

The usual advice is: Log in one time and don't log out. So you don't need to do 
login in a script. If your machine is configured well, safety should not be an 
issue as
if you wanted to do the login in a script, you would have to put the password 
the script. If the script and the .cvspass are both in your home directory,
both methods have the same level of (un-)safety. Hackers would have either to 
the .cvspass or your script to get your password (the password-"encryption" in
.cvspass is anything but secure) or your script.


 iXpoint Informationssysteme GmbH #
           Daimlerstr. 3          # Harald Kucharek
          76275 Ettlingen         # address@hidden
    Tel/Fax +49 7243 3775-0/77    #

reply via email to

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