From 71196131be7f7d6933e6da77199c562b195e8f05 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 12 Feb 2018 12:09:22 +0000 Subject: [PATCH] PAM: Drop shipped configuration This is outdated, broken and has hardcoded passwords. Signed-off-by: Michael Tremer --- config/pam/ftp | 2 -- config/pam/imap | 2 -- config/pam/other | 5 ----- config/pam/pop | 2 -- config/pam/sieve | 2 -- config/pam/smtp | 2 -- config/rootfiles/common/pam | 6 ------ lfs/pam | 1 - 8 files changed, 22 deletions(-) delete mode 100644 config/pam/ftp delete mode 100644 config/pam/imap delete mode 100644 config/pam/other delete mode 100644 config/pam/pop delete mode 100644 config/pam/sieve delete mode 100644 config/pam/smtp diff --git a/config/pam/ftp b/config/pam/ftp deleted file mode 100644 index 3475b48220..0000000000 --- a/config/pam/ftp +++ /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 index f8f411f3d4..0000000000 --- a/config/pam/imap +++ /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 index c286c823c3..0000000000 --- a/config/pam/other +++ /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 index f8f411f3d4..0000000000 --- a/config/pam/pop +++ /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 index f8f411f3d4..0000000000 --- a/config/pam/sieve +++ /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 index f8f411f3d4..0000000000 --- a/config/pam/smtp +++ /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/rootfiles/common/pam b/config/rootfiles/common/pam index 3b5e10e452..0ca320f8f4 100644 --- a/config/rootfiles/common/pam +++ b/config/rootfiles/common/pam @@ -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 9c4739c9b6..f379c22d6d 100644 --- 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) -- 2.39.2