From owner-freebsd-questions Wed Nov 10 15:39:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from home.enger.org (menger.kgv.edu.hk [152.101.128.99]) by hub.freebsd.org (Postfix) with SMTP id 7E4C314E1E for ; Wed, 10 Nov 1999 15:39:43 -0800 (PST) (envelope-from menger@dhs.org) Received: (qmail 76926 invoked by uid 1001); 10 Nov 1999 23:39:42 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Nov 1999 23:39:42 -0000 Date: Thu, 11 Nov 1999 07:39:42 +0800 (CST) From: X-Sender: menger@home.enger.org To: Mitch Collinsworth Cc: dan@freebsddiary.org, freebsd-questions@FreeBSD.ORG Subject: Re: proftpd and authentication failure In-Reply-To: <199911101745.AA285395943@broccoli.graphics.cornell.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Check which user your ftp daemon is running as, if it is running as nobody, it can't su to the user that is ftping in. To get around this, I had to switch my ftp user to root and the group as wheel. On Wed, 10 Nov 1999, Mitch Collinsworth wrote: > > >ProFTPD Version 1.2.0pre8 is giving me authentication problems. I've > >been able to get anon ftp running, but if I log in as my regular user id, I > >get invalid password. > > You didn't say what version of FBSD. It matters. A lot. > > > >Here's the output from running with -d5 > > > >received: USER dan > >received: USER dan > >received: PASS (hidden) > >PAM(dan): Permission denied > >USER dan: incorrect password > > I've just been fighting the proftpd/pam/freebsd battle myself today > and it is now working. More interesting than debug output would be > to know what is in your log file. > > > >If I add these two lines to /etc/pam.conf > > > >ftp auth required pam_unix.so try_first_pass > >ftp account required pam_unix.so try_first_pass > > This is exactly what I have. > > > >I get this eror: > > > >received: USER dan > >received: USER dan > >received: PASS (hidden) > > What error? > > > >And the same again if I add this to pam.conf: > > > >ftp session required pam_unix.so try_first_pass > > No. You don't want this. Well... That may depend on what version > of FreeBSD. You definitely don't want it with 3.2-R. > > > >I have no idea how to get regular logins working. I'm ready to toss this > >aside and go with ftpd. Anyone got proftpd running? > > me. > > -Mitch > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message