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
|