]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
PAM: Drop shipped configuration
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 Feb 2018 12:09:22 +0000 (12:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 Feb 2018 12:09:22 +0000 (12:09 +0000)
This is outdated, broken and has hardcoded passwords.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/pam/ftp [deleted file]
config/pam/imap [deleted file]
config/pam/other [deleted file]
config/pam/pop [deleted file]
config/pam/sieve [deleted file]
config/pam/smtp [deleted file]
config/rootfiles/common/pam
lfs/pam

diff --git a/config/pam/ftp b/config/pam/ftp
deleted file mode 100644 (file)
index 3475b48..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-auth   required        pam_unix.so nullok shadow
-account        required        pam_unix.so
diff --git a/config/pam/imap b/config/pam/imap
deleted file mode 100644 (file)
index f8f411f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-auth    sufficient pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
-account required   pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
diff --git a/config/pam/other b/config/pam/other
deleted file mode 100644 (file)
index c286c82..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#%PAM-1.0
-auth     required       pam_deny.so
-account  required       pam_deny.so
-password required       pam_deny.so
-session  required       pam_deny.so
diff --git a/config/pam/pop b/config/pam/pop
deleted file mode 100644 (file)
index f8f411f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-auth    sufficient pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
-account required   pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
diff --git a/config/pam/sieve b/config/pam/sieve
deleted file mode 100644 (file)
index f8f411f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-auth    sufficient pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
-account required   pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
diff --git a/config/pam/smtp b/config/pam/smtp
deleted file mode 100644 (file)
index f8f411f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-auth    sufficient pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
-account required   pam_mysql.so user=root passwd=mysqlfire host=localhost db=mail table=user usercolumn=mbox passwdcolumn=password crypt=0 sqlLog=0
index 3b5e10e4522b7fbc41461de3351624740952af92..0ca320f8f470e7b505baebb081677c5a4f2eb959 100644 (file)
@@ -1,11 +1,5 @@
 #etc/environment
 etc/pam.d
-#etc/pam.d/ftp
-#etc/pam.d/imap
-#etc/pam.d/other
-#etc/pam.d/pop
-#etc/pam.d/sieve
-#etc/pam.d/smtp
 etc/security
 #etc/security/access.conf
 #etc/security/group.conf
diff --git a/lfs/pam b/lfs/pam
index 9c4739c9b690dcabcda71fe502676c43ca6a9fdb..f379c22d6d17aa81d896f9f66b0421e31c9f5401 100644 (file)
--- a/lfs/pam
+++ b/lfs/pam
@@ -81,7 +81,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        # Install configuration
        -mkdir -p /etc/pam.d
-       cp $(DIR_SRC)/config/pam/* /etc/pam.d
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)