summaryrefslogtreecommitdiff
path: root/RedHat
diff options
context:
space:
mode:
Diffstat (limited to 'RedHat')
-rw-r--r--RedHat/README.spec3
-rw-r--r--RedHat/vsftpd.log5
-rw-r--r--RedHat/vsftpd.pam6
3 files changed, 14 insertions, 0 deletions
diff --git a/RedHat/README.spec b/RedHat/README.spec
new file mode 100644
index 0000000..c5571ad
--- /dev/null
+++ b/RedHat/README.spec
@@ -0,0 +1,3 @@
+The .spec files have gone because they are old and buggy.
+All modern versions of RedHat now include vsftpd packages anyway.
+
diff --git a/RedHat/vsftpd.log b/RedHat/vsftpd.log
new file mode 100644
index 0000000..d338de8
--- /dev/null
+++ b/RedHat/vsftpd.log
@@ -0,0 +1,5 @@
+/var/log/vsftpd.log {
+ # ftpd doesn't handle SIGHUP properly
+ nocompress
+ missingok
+}
diff --git a/RedHat/vsftpd.pam b/RedHat/vsftpd.pam
new file mode 100644
index 0000000..9f2baef
--- /dev/null
+++ b/RedHat/vsftpd.pam
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
+auth required /lib/security/pam_unix.so shadow nullok
+auth required /lib/security/pam_shells.so
+account required /lib/security/pam_unix.so
+session required /lib/security/pam_unix.so