From owner-freebsd-questions@FreeBSD.ORG Tue Jul 17 03:42:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAFC216A401 for ; Tue, 17 Jul 2007 03:42:04 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from stargate.alaskaparadise.com (75-96-237-24.gci.net [24.237.96.75]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3E113C4A8 for ; Tue, 17 Jul 2007 03:42:04 +0000 (UTC) (envelope-from beech@freebsd.org) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id 2E8388214; Mon, 16 Jul 2007 19:42:03 -0800 (AKDT) From: Beech Rintoul To: freebsd-questions@freebsd.org Date: Mon, 16 Jul 2007 19:41:51 -0800 User-Agent: KMail/1.9.6 References: In-Reply-To: X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707161941.58068.beech@freebsd.org> Cc: Hartleigh Burton Subject: Re: proftpd vs PAM authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beech Rintoul List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 03:42:04 -0000 On Monday 16 July 2007, Hartleigh Burton said: > Hi everyone, > > I am relatively new to FreeBSD and have what I hope is a simple > question regarding proftpd and PAM authentication. > > I have just installed proftpd via the available port, and after > installation a message was returned saying: > > ### > Make sure you have the following lines in your PAM configuration > file so that ProFTPd's PAM module can authenticate users correctly. > > ftpd auth required pam_unix.so try_first_pass > ftpd account required pam_unix.so try_first_pass > ftpd session required pam_permit.so > ### > > After reading into this I am confused as to where exactly I should > be entering this information. According to the proftpd README file, > in FreeBSD it likes to get this information from /etc/pam.conf, > whereas LINUX looks in /etc/pam.d/ftp, and what topped it off for > me is the / etc/pam.d/ftpd file. > > Where is the best place to have this configuration information; is > it required considering there is already lines in /etc/pam.d/ftp; > if required should I overwrite /etc/pam.d/ftp or append to the > beginning/ end of the file? > > I hope there is enough information here for someone to help. Any > help provided is greatly appreciated in advance ;) > Actually that isn't required anymore and is a holdover from earlier versions. The pam configuration for ftpd is in /etc/pam.d/ftpd and already contains the required entries. I should probably just remove it to avoid confusion. Beech - Proftpd Maintainer -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------