Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi
i need to checkout a project from cvs fort a particular user
i use the following command
cvs -d server:francis:francis@cvs@10.200.2.23:/projects/aa_cesar co myproject
when i do it using the eclipse it works fine but when i do it command line it does not checkout
the reason is it takes cvs@10.200.2.23 unable to connect
that is wrong username pasword credentials are given
hi i am able to checkout the code as a different user , some users have special characters in their passwords
link in my case
since i have @ in my password it treats text after @ as the username and tried to connect which is invalid
cvs -d server:francis:francis@cvs@10.200.2.23:/projects/aa_cesar co myproject
cvs -d server:username:password@10.200.2.23:/projects/aa_cesar co myproject
cvs will then ask for a password and store it (encrypted, sort of) in ~/.cvspass. In future, cvs will lookup the password in ~/.cvspass and giving it on the command line will be unnecessary, so you can checkout with
Code:
cvs -d :pserver:francis@10.200.2.23:/projects/aa_cesar/ co myproject
but what if i wasnt to put it in a script
coz the developers do this on a frequent basis they need to checkout and compile the code every week
so inorder to make life easy i developed this script for them but the problem is that it does not accept special characters
is there any way out instead of changing the password
I tried what u said by putting double quotes , single quotes curly braces for the passowrd entry but nothing seems to work in the script , is there any other alternative
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.