From mboxrd@z Thu Jan  1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org
X-Spam-Level: *
X-Spam-Status: No, score=1.7 required=5.0 tests=DATE_IN_PAST_24_48,
	DMARC_REJECT,INVALID_DATE,MAILING_LIST_MULTI autolearn=no
	autolearn_force=no version=4.0.0
Received: from grendel.conectiv-comm.com ([138.39.131.34] helo=grendel.conectiv.net)
	by cvs.gentoo.org with esmtp (Exim 3.30 #1)
	id 15YfR3-0003Or-00
	for gentoo-dev@cvs.gentoo.org; Sun, 19 Aug 2001 21:09:05 -0600
Received: from saucer (cci001c-7-33.conectiv.net [63.238.188.35])
	by grendel.conectiv.net (8.11.0/8.11.0) with ESMTP id f7K39kT15637
	for <gentoo-dev@cvs.gentoo.org>; Sun, 19 Aug 2001 23:09:47 -0400 (EDT)
From: "Will Rogers" <wjr@wam.umd.edu>
To: <gentoo-dev@cvs.gentoo.org>
Subject: RE: [gentoo-dev] Normal user login with ProFTPd?
Message-ID: <000401c12925$85547cc0$0801a8c0@saucer>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
In-Reply-To: <3B806A3B.1090303@acm.org>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000
Sender: gentoo-dev-admin@cvs.gentoo.org
Errors-To: gentoo-dev-admin@cvs.gentoo.org
X-BeenThere: gentoo-dev@cvs.gentoo.org
X-Mailman-Version: 2.0
Precedence: bulk
Reply-To: gentoo-dev@cvs.gentoo.org
List-Help: <mailto:gentoo-dev-request@cvs.gentoo.org?subject=help>
List-Post: <mailto:gentoo-dev@cvs.gentoo.org>
List-Subscribe: <http://cvs.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@cvs.gentoo.org?subject=subscribe>
List-Id: Gentoo Linux development list <gentoo-dev.cvs.gentoo.org>
List-Unsubscribe: <http://cvs.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@cvs.gentoo.org?subject=unsubscribe>
List-Archive: <http://cvs.gentoo.org/pipermail/gentoo-dev/>
Date: Sun Aug 19 21:10:02 2001
X-Original-Date: Sun, 19 Aug 2001 23:09:25 -0400
X-Archives-Salt: a45366fa-8f4c-4ebe-8c5f-b4ae0ed97c1c
X-Archives-Hash: 382625e36d01e9cdd0980e44d0a6f45e

> * do you have pam in your USE variable in /etc/make.conf?  

The only edits I've done to make.conf are to uncommend the optimization
options for 686 processors.  The /etc/make.profile file has USE set to
include all of the recommended options (including pam).  My
understanding is that this sets the defaults; make.conf customizes those
defaults.  Is this correct?

> * do you have /etc/pam.d/ftp?  That should be the pam 
> configuration file 
> that is used (this is set in the proftpd conf file as AuthPAMConfig).

The file exists.  I tried using the default settings and the Red Hat and
SuSE recommended settings from the README.PAM in the proftpd source
archive, none seemed to work.

I downloaded the source and recompiled it (I had done a binary
installation from the rc5 cd before) and it didn't change anything.  I
can still log in anonymously but not with my user account.  There might
be something basic I'm missing; has anyone else gotten this to work?  I
found it really tough to find documentation on logging in to system user
accounts on the proftpd site.  If someone could post a simple
step-by-step maybe we could figure out where the problem is.

A few more observations:

The binary I had first installed from the rc5 cd put its configuration
in /etc/proftp/proftpd.conf, but the version I downloaded and compiled
(both marked 1.2.2_rc3) put it in /etc/proftpd/proftpd.conf (note the
difference in directory name).

The default proftpd.conf file does not work out of the box--it causes a
"could not change gid" error.  I changed the "Group nogroup" to "Group
nobody" and it worked fine.


Thanks again,

Will Rogers
wjr@wam.umd.edu