Cvs Helllpppp!!!!!
To all,
i want to setup a CVS. i am using RH8.0. RH8.0 defaulted is installed with cvs. so, i just do plenty of configurations... 1. export CVSROOT=/cvs 2. adduser cvs then, chown -R cvs /cvs and chgrp -R cvs /cvs 3. cvs -d /cvs init 4. touch /etc/xinetd.d/cvspserver 5. edit cvspserver and add this: service cvspserver{ port = 2401 socket_type = stream protocol = tcp wait = no user = root passenv = path server = /usr/local/bin/cvs server_args = -f --allow-root=/usr/cvsroot pserver } 6. /etc/rc.d/init.d/xinetd.d restart 7. touch /cvs/CVSROOT/passwd 8. edit passwd and add this: yohiu::cvs 9. adduser -G cvs yohiu 10. try to testing cvs export CVSROOT=:pserver:yohiu@127.0.0.1:/cvs 11 cvs login after that, i press enter to bypass the password since i dont set any password for yohiu. but, it yields me this >> cvs login:authorization failed: server 127.0.0.1 rejected access to /cvs for user yohiu i dont see where is the point that i have done mistakes.... pls... help me to troubleshoot... thanks... cheers, yenonn |
same problem is my
please give the solution for cvs login failed
amitabh |
i am sufering from this same problem please anybody give proper solution
amitabh pandey |
i have solved the problem. pls, nmap ur machine see whether cvspserver port is opened?
|
hi YENONN
thanks for cvs solution but PLEASE GIVE THE DETAIL'S Of NMAP. AMITABH |
I have a mistake over the cvspserver service
>>server_args = -f --allow-root=/usr/cvsroot pserver (wrong) it should be >>server_args = -f --allow-root=/cvs pserver since my respository directory is staying at /cvs so, i should have >>--allow-root=/cvs pserver Following by this, u should have restarting ur xinetd.d service. and nmap ur machine.. just simply prompt >>nmap ur_machine_name it will give u the detail of opening ports on ur machine..make sure ur 2401 port is opening. then, cvs server setup is pretty much done. Take note of this, those user who is using or contributing (write access or read-only) must be granted a permission to access the directory...just simply add the user in the owner group. and of course, at dir $CVSROOT/CVSROOT/ >>touch writers and >> touch readers. file writers is for user who can write on the disk, and readers is for user who only able to read-only. lastly >> touch passwd pserver will authenticate user and user_password in passwd file the format is as such... [user_id]:[encrypted_password]:[system_account] so, in my case i have put yohiu::cvs in my passwd file and yohiu in my writers file. cvs is actually a owner of $CVSROOT. so, yohiu::cvs means that, yohiu with no password can access to a system account called cvs. and yohiu is granted a write permission to the disk. i am trying to figure out on how to get a encrypted string for the password. any idea?? i am thinking of writting some bash shell script to settle all this nitty-gritty of steps. but how??? gosh... i have to learn on how to write bash script first... |
cvs
hi YENONN
thank you very much.YENONN where r u & what is your skills. plese give your mail id because if any problem comes so i will contact u. thanks amitabh |
there are lot of experts out there... btw, i am just learning....i am not an expert.....LQ is the best linux forum..many experts are helpful...anyway... u are welcome....
|
All times are GMT -5. The time now is 02:19 AM. |