Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-30-2007, 11:19 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
cvs login: authorization failed


I am setting up the CVS stuff on Linux RH system for first time.
Error message while connecting to CVS repository:

cvs login: authorization failed: server rejected access to /data/sprint/cvs for user lkapoor

Here is my /etc/xinetd.d/cvspserver file:

service cvspserver
disable = no
socket_type = stream
wait = no
user = root
protocol = tcp
passenv = PATH
port = 2401
server = /usr/bin/cvs
server_args = -f --allow-root=/data/sprint/cvs pserver

Here is CVSROOT/passwd file:


I am using this perl script for generating CRYPT passwd:


srand (time());
my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 97))";
my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
my $plaintext = shift;
my $crypttext = crypt ($plaintext, $salt);

print "${crypttext}\n";

I went through old threads related to this problem, but no luck. Can anyone suggest where to look for ?

Lalit Kapoor
Old 10-30-2007, 06:42 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have you re-started xinetd after adding the cvs stuff? Did you initialise your repository with something like cvs -d /data/sprint/cvs init? There's some useful info at for getting a repository configured and running.
Old 10-31-2007, 12:29 PM   #3
LQ Newbie
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hello Steve,

Thanks for your reply, I was able to resolve my problem.

Lalit Kapoor


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Encounterd : cvs [login aborted]: authorization failed. SianZronG Linux - Enterprise 3 02-26-2007 09:23 PM
CVS Login: Authorization Failed nestorjb Linux - Newbie 7 02-14-2007 05:18 PM
KDE and NFS - " Authorization failed "... bonecrusher Linux - Software 2 01-18-2006 09:11 AM
Authorization Failed Poskus Fedora 1 02-23-2004 09:08 AM
Config problem: "Authorization failed: server rejected access" -- help please! womble_timsk Linux - Networking 0 05-22-2003 05:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration