summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/baselayout/files/pam.d/ftp')
-rw-r--r--sys-apps/baselayout/files/pam.d/ftp7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/pam.d/ftp b/sys-apps/baselayout/files/pam.d/ftp
new file mode 100644
index 000000000000..17f119801048
--- /dev/null
+++ b/sys-apps/baselayout/files/pam.d/ftp
@@ -0,0 +1,7 @@
+auth requisite pam_listfile.so \
+ item=user sense=deny file=/etc/ftpusers onerr=succeed
+auth requisite pam_shells.so
+#auth required pam_mysql.so user=root passwd=123 db=pam table=user
+auth required pam_pwdb.so
+account required pam_pwdb.so
+session required pam_pwdb.so