Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I am trying to setup VCS for personal use. I have set it up on server and it works.
trying to connect it remotely it worked with ext and ssh. I want to use pserver method as it uses unique port 2401.
This seems to be working but when trying to connect from remote linux laptop the laptop gives /home cvsroot not found and the messge in server log file is that login refused.
Thanks for the reply. echo $CVSROOT on cvs server is /home/cvsroot.
on server the checkout etc is working.
from remote if I connect using ext: instead od pserver it works.
It is only when using pserver that I am having problem.
using cvs login command on remote I get /home/cvsroot no such repository
on the cvs server in /var/log/messages I get Sep 10 15:08:51 kslserver cvs: login refused for /home/cvsroot
This is why I was suspecting the PAM module which is probably not letting me login using pserver.
content of my /etc/pam.d/cvs is
#%PAM-1.0
auth sufficient pam_permit.so
account sufficient pam_permit.so
the content of /etc/xinetd.d/cvspserver is
# default: off
# description: The CVS service can record the history of your source \
# files. CVS stores all the versions of a file in a single \
# file in a clever way that only stores the differences \
# between versions.
service cvspserver
{
disable = no
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = cvs
passenv =
server = /usr/bin/cvs
env = CVSROOT=/home/cvsroot
server_args = -f --allow-root=/var/cvs pserver
bind = 192.168.2.3
}
According to the above line in your xinetd configuration your CVSROOT is /var/cvs. What is the correct dir anyway, it's /home/cvsroot or /var/cvs?
Make the correct changes, restart xinetd and see what happens.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.