Fedora Linux Support Community & Resources Center
  #1  
Old 9th June 2009, 09:26 PM
daviddoria Offline
Registered User
 
Join Date: Oct 2007
Posts: 884
Respond to cvs password in bash script

I want to do this in a bash script:
Code:
cvs -d :pserver:anonymous@www.cmake.org:/cvsroot/CMake login
#respond with cmake
cvs -d :pserver:anonymous@www.cmake.org:/cvsroot/CMake co CMake
Is this possible?

Thanks,
Dave
Reply With Quote
  #2  
Old 10th June 2009, 12:27 PM
daviddoria Offline
Registered User
 
Join Date: Oct 2007
Posts: 884
It turns out the right way to do this is to just put the password in the cvs command, ie:

Code:
cvs -d :pserver:anonymous:cmake@www.cmake.org:/cvsroot/CMake login
if the server requires a blank password, it seem like you can put whatever you want as the password, ie
Code:
cvs -d :pserver:anonymous:WHATEVER@www.cmake.org:/cvsroot/CMake login
Reply With Quote
Reply

Tags
bash, cvs, password, respond, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert bash script to perl script homey Programming & Packaging 1 2nd September 2006 04:24 AM
cgi bash script paul_mat Using Fedora 1 18th April 2006 04:17 PM
bash add user and php change password? q_ware Using Fedora 3 31st July 2005 03:27 AM
Bash Script on FC3 Clunixchit Programming & Packaging 7 8th April 2005 09:29 PM


Current GMT-time: 11:28 (Thursday, 31-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat