[nmglug] bash script question,

Ed Brown ebrown at lanl.gov
Mon Mar 21 10:37:12 PST 2005


Is it necessary for your script to actually login?  You can probably do
check outs, or updates, for example, without doing the login first.

Otherwise, if you have to do interactive stuff from a script, look into
the 'script' utility, which can automate login dialogs etc.

-Ed


On Mon, 2005-03-21 at 11:20, Andres Paglayan wrote:
> Question,
> 
> I have a bash script that makes an anonymous login to sourceforge's cvs,
> but, I want it to be 100% automatic.
> I am not sure if it's a CVS or a scripting question
> 
> at login time, after this line,
> cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/project  login
> the cvs server prompts for a password, which is blank for anonymous,
> 
> how can I enter that blank password from the script so it doesn't prompt 
> the user?
> 
> Many thanks,
> Andres
> 
> 
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug





More information about the nmglug mailing list