From owner-freebsd-ports Mon Feb 25 13:50:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D41B437B41B for ; Mon, 25 Feb 2002 13:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1PLo1A57006; Mon, 25 Feb 2002 13:50:01 -0800 (PST) (envelope-from gnats) Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id A261137B420 for ; Mon, 25 Feb 2002 13:49:44 -0800 (PST) Received: (from marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) id g1PLnl920165; Mon, 25 Feb 2002 16:49:47 -0500 (EST) (envelope-from marcus) Message-Id: <200202252149.g1PLnl920165@shumai.marcuscom.com> Date: Mon, 25 Feb 2002 16:49:47 -0500 (EST) From: Joe Marcus Clarke Reply-To: Joe Marcus Clarke To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35323: [PATCH] Sync ProFTPd's pkg-message with reality Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35323 >Category: ports >Synopsis: [PATCH] Sync ProFTPd's pkg-message with reality >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Feb 25 13:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Joe Marcus Clarke >Release: FreeBSD 4.5-STABLE i386 >Organization: MarcusCom, Inc. >Environment: System: FreeBSD shumai.marcuscom.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 24 14:19:35 EST 2002 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386 >Description: Since ProFTPd's PAM config name changed, update its pkg-message to reflect this. Also, The ProtFTPd PAM commands can be removed from -stable's /etc/pam.conf (patch attached), and the /etc/pam.d/ftp file can be removed from -current. >How-To-Repeat: >Fix: --- pkg-message.orig Mon Feb 25 16:41:29 2002 +++ pkg-message Mon Feb 25 16:41:19 2002 @@ -1,8 +1,8 @@ ### -As of proftpd 1.2.0rc3 and later, you need to edit /etc/pam.conf to add -support for ftp. To do so, add the following three lines to this file: +Make sure you have the following lines in your PAM configuration file +so that ProFTPd's PAM module can authenticate users correctly. -ftp auth required pam_unix.so try_first_pass -ftp account required pam_unix.so try_first_pass -ftp session required pam_permit.so +ftpd auth required pam_unix.so try_first_pass +ftpd account required pam_unix.so try_first_pass +ftpd session required pam_permit.so ### --- etc/pam.conf.orig Mon Feb 25 16:44:19 2002 +++ etc/pam.conf Mon Feb 25 16:45:01 2002 @@ -114,21 +114,6 @@ #ftpd session required pam_ssh.so ftpd session required pam_unix.so -# PROftpd. -ftp auth required pam_nologin.so no_warn -#ftp auth sufficient pam_kerberosIV.so no_warn -#ftp auth sufficient pam_krb5.so no_warn -#ftp auth required pam_opie.so no_warn -#ftp auth required pam_ssh.so no_warn try_first_pass -ftp auth required pam_unix.so no_warn try_first_pass -#ftp account required pam_kerberosIV.so -#ftp account required pam_krb5.so -ftp account required pam_unix.so -#ftp session required pam_kerberosIV.so -#ftp session required pam_krb5.so -#ftp session required pam_ssh.so -ftp session required pam_unix.so - # OpenSSH sshd auth required pam_nologin.so no_warn sshd auth required pam_unix.so no_warn try_first_pass >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message