problem logging into cvs server
I have installed cvs on my redhat machine.
When I try to login to the cvs server using the following command cvs -d :pserver:joe:mypassword@csiredhat:/home/cvs login I get the following error message cvs login: authorization failed: server csiredhat rejected access to /home/cvs for user joe. Why does this happen? Please note that my login has "csi" as its inital group and "cvs" as the next group. I desparately need some help. Please advise. Thanks, Joe. ***directory permissions**** drwxrwxrwx 4 cvs cvs 4096 Oct 12 14:44 cvs drwxrwxr-x 3 root root 4096 Oct 12 14:44 CVSROOT ****groups joe***** joe: csi cvs *****groups cvs**** cvs: cvs *****netstat -an | grep 2401***** tcp 0 0 192.168.21.3:2401 0.0.0.0:* LISTEN ****/etc/profile **** CVSROOT=/home/cvs export CVSROOT **** /etc/xinetd.d/cvspserver **** service cvspserver { disable = no socket_type = stream wait = no user = cvs group = cvs log_type = FILE /var/log/cvspserver protocol = tcp env = '$HOME=/home/cvs' bind = 192.168.21.3 log_on_failure += USERID port = 2401 server = /usr/bin/cvs server_args = -f --allow-root=/home/cvs pserver } |
I solved my issue. It was pretty silly actually.
I did not create the passwd file in the CVSROOT directory, which subsequently led to the authentication failures! I hope I read the docs more carefully in future. Sorry for the trouble guys. Thanks, Joe |
All times are GMT -5. The time now is 07:26 AM. |