info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a pserver on Mac OSX


From: Dave Carlton
Subject: Creating a pserver on Mac OSX
Date: Wed, 26 Sep 2001 21:33:21 -0700

I have been at this all afternoon and am completely stumped, I have read and reread the man pages and all the web sites I could find on how to seet up a cvs server on OSX. No matter what I do I get: cvs [login aborted]: authorization failed: server localhost rejected access
when trying to login. Here is what I have done:

Added service to netinfo:
sudo nicl .
cd services
create cvsperver
create cvsperver port 2401
create cvsperver protocol tcp

Added line inetd.conf:
cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/Volumes/Data/cvs/ pserver

Restarted inetd:
kill -HUP `cat /var/run/inetd.conf`

Created respository:
cd /Volumes/Data
mkdir cvs
chown admin:staff cvs
chmod 775 cvs
(I am a member of staff)

Initialized Repositoy:
cvs :local:/Volumes/Data/cvs init
cd cvs
chown root:admin CVSROOT
chmod 775 CVSROOT
(I am a member of admin)

Created CVSROOT/config file:
SystemAuth=yes

Created CVSROOT/passwd file:
davec:zkljsdhsdhf:davec

Added a repository for testing:
cd ~/Sources/Tools
cvs import -m "New stuff" Tools davec epoch
(files imported ok)

Try to log into localhost:
cd /Sources/CVS
cvs -d :pserver:address@hidden:/cvs login
(Logging in to address@hidden)
CVS password:
cvs [login aborted]: authorization failed: server localhost rejected access




reply via email to

[Prev in Thread] Current Thread [Next in Thread]