Magellan Linux

Contents of /trunk/proftpd/patches/proftpd-1.3.3-config-pam.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 991 - (show annotations) (download)
Wed Mar 3 19:08:46 2010 UTC (14 years, 2 months ago) by niro
File size: 2507 byte(s)
files and updates for proftpd-1.3.3 with optional mysql, ldap, tls and anonymous support

1 diff -Naur proftpd-1.3.3/sample-configurations/anonymous.conf proftpd-1.3.3-magellan/sample-configurations/anonymous.conf
2 --- proftpd-1.3.3/sample-configurations/anonymous.conf 2010-03-03 19:08:03.000000000 +0100
3 +++ proftpd-1.3.3-magellan/sample-configurations/anonymous.conf 2010-03-03 19:13:45.000000000 +0100
4 @@ -18,6 +18,10 @@
5 # Port 21 is the standard FTP port.
6 Port 21
7
8 +# Use pam to authenticate (default) and be authoritative
9 +AuthPAMConfig proftpd
10 +AuthOrder mod_auth_pam.c* mod_auth_unix.c
11 +
12 # If you don't want normal users logging in at all, uncomment this
13 # next section
14 #<Limit LOGIN>
15 diff -Naur proftpd-1.3.3/sample-configurations/basic.conf proftpd-1.3.3-magellan/sample-configurations/basic.conf
16 --- proftpd-1.3.3/sample-configurations/basic.conf 2010-03-03 19:08:03.000000000 +0100
17 +++ proftpd-1.3.3-magellan/sample-configurations/basic.conf 2010-03-03 19:14:27.000000000 +0100
18 @@ -18,6 +18,10 @@
19 # Port 21 is the standard FTP port.
20 Port 21
21
22 +# Use pam to authenticate (default) and be authoritative
23 +AuthPAMConfig proftpd
24 +AuthOrder mod_auth_pam.c* mod_auth_unix.c
25 +
26 # Umask 022 is a good standard umask to prevent new files and dirs
27 # (seconf parm) from being group and world writable.
28 Umask 022 022
29 diff -Naur proftpd-1.3.3/sample-configurations/mod_sql.conf proftpd-1.3.3-magellan/sample-configurations/mod_sql.conf
30 --- proftpd-1.3.3/sample-configurations/mod_sql.conf 2010-03-03 19:08:03.000000000 +0100
31 +++ proftpd-1.3.3-magellan/sample-configurations/mod_sql.conf 2010-03-03 19:15:00.000000000 +0100
32 @@ -75,6 +75,10 @@
33 # Port 21 is the standard FTP port.
34 Port 21
35
36 +# Use pam to authenticate (default) and be authoritative
37 +AuthPAMConfig proftpd
38 +AuthOrder mod_auth_pam.c* mod_auth_unix.c
39 +
40 # Umask 022 is a good standard umask to prevent new files and dirs
41 # (second param) from being group and world writable.
42 Umask 022 022
43 diff -Naur proftpd-1.3.3/sample-configurations/virtual.conf proftpd-1.3.3-magellan/sample-configurations/virtual.conf
44 --- proftpd-1.3.3/sample-configurations/virtual.conf 2010-03-03 19:08:03.000000000 +0100
45 +++ proftpd-1.3.3-magellan/sample-configurations/virtual.conf 2010-03-03 19:15:39.000000000 +0100
46 @@ -17,6 +17,10 @@
47 # Port 21 is the standard FTP port.
48 Port 21
49
50 +# Use pam to authenticate (default) and be authoritative
51 +AuthPAMConfig proftpd
52 +AuthOrder mod_auth_pam.c* mod_auth_unix.c
53 +
54 # Global creates a "global" configuration that is shared by the
55 # main server and all virtualhosts.
56