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

Notices


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

Rep: Reputation: 0
cvs login: authorization failed


Hi,

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 10.78.178.194 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:

lkapo01:QGcL.DheH8ZIA:cvs
lkapoor:MZmSs0DJE4eyg:cvs

I am using this perl script for generating CRYPT passwd:

#!/usr/bin/perl

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 ?

Thanks,
Lalit Kapoor
 
Old 10-30-2007, 05:42 PM   #2
gilead
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 http://cvsbook.red-bean.com/cvsbook.html for getting a repository configured and running.
 
Old 10-31-2007, 11:29 AM   #3
lkapoor
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.

Thanks,
Lalit Kapoor
 
  


Reply


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 08:23 PM
CVS Login: Authorization Failed nestorjb Linux - Newbie 7 02-14-2007 04:18 PM
KDE and NFS - " Authorization failed "... bonecrusher Linux - Software 2 01-18-2006 08:11 AM
Authorization Failed Poskus Fedora 1 02-23-2004 08:08 AM
Config problem: "Authorization failed: server rejected access" -- help please! womble_timsk Linux - Networking 0 05-22-2003 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:05 AM.

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