[Top][All Lists]

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

Re: rejecteed when logging with passwd apparently OK

From: smaraux
Subject: Re: rejecteed when logging with passwd apparently OK
Date: Fri, 1 Mar 2002 18:19:29 +0100

a cvs server setup tutorial adviced to do so :
take the /etc/shadow file and take off all services lines,
then only keep first and second field of each line.
the tutorial was :
and you can read it on step 8.

It's possible to find so much sh.t on Internet, whereas it
seemed to be well adapted to my case, with RH 6.2.

Here is some questions to a CVS guru :

1. How do you define passwd file for normal users?
2. Do you use cvs username? can I setup a server without it if I don't
require anonymous login.
3. your config looks like mine, exept that you define a PATH for passenv. Is
it the passwd file path (like $CVSROOT/CVSROOT/) ?

Thanks in advance for your help.

Sebastien MARAUX,

"Larry Jones" <address@hidden> a 茅crit dans le message de news:
> smaraux writes:
> >
> > I setup a passwd file from a "light" /etc/shadow file in
> You do realize that CVS's passwd file doesn't have the same fields as
> /etc/shadow, don't you?
> > cvs [login aborted]: connect to localhost( failed:
> > refused.
> >
> > I'm using xinetd, it seems to come from it, doesn't it?
> Yes, there's something wrong with your xinetd configuration.  Check your
> syslog for error messages and/or run xinetd in debug mode.  Here's what
> the current development version of the manual has to say about xinetd:
> If your system uses xinetd instead of inetd, the procedure is slightly
> different.  Create a file called '/etc/xinetd.d/cvspserver' containing
> the following:
> service cvspserver
> {
>    port        = 2401
>    socket_type = stream
>    protocol    = tcp
>    wait        = no
>    user        = root
>    passenv     = PATH
>    server      = /usr/local/bin/cvs
>    server_args = -f --allow-root=/usr/cvsroot pserver
> }
> (If cvspserver is defined in '/etc/services', you can omit the port
> line.)
> -Larry Jones
> Girls are so weird. -- Calvin

reply via email to

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