Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 16:49:47 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35323: [PATCH] Sync ProFTPd's pkg-message with reality
Message-ID:  <200202252149.g1PLnl920165@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202252149.g1PLnl920165>