LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 11: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, 06:42 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
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, 12:29 PM   #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 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


All times are GMT -5. The time now is 10:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration