diff options
| author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-11-28 14:22:26 -0300 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2013-12-03 09:04:23 +0100 |
| commit | 72b3c1db513a6235fd5e5f00fb6c15071ffc6015 (patch) | |
| tree | 2a39b73f7a9e3d718e6118a7d45a33927924a9fa /package/linux-pam | |
| parent | 30c51053af382892338b0922c610cc838b735469 (diff) | |
| download | buildroot-72b3c1db513a6235fd5e5f00fb6c15071ffc6015.tar.gz buildroot-72b3c1db513a6235fd5e5f00fb6c15071ffc6015.zip | |
linux-pam: install default config
Install default "other" configuration file that denies everything not
handled by other specific configurations.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/linux-pam')
| -rw-r--r-- | package/linux-pam/linux-pam.mk | 10 | ||||
| -rw-r--r-- | package/linux-pam/other.pam | 7 |
2 files changed, 16 insertions, 1 deletions
diff --git a/package/linux-pam/linux-pam.mk b/package/linux-pam/linux-pam.mk index 7d2cbd3b54..6aa83e1c6f 100644 --- a/package/linux-pam/linux-pam.mk +++ b/package/linux-pam/linux-pam.mk @@ -1,7 +1,7 @@ ################################################################################ # # linux-pam -# +# ################################################################################ LINUX_PAM_VERSION = 1.1.8 @@ -26,4 +26,12 @@ ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) LINUX_PAM_MAKE_OPT += LIBS=-lintl endif +# Install default pam config (deny everything) +define LINUX_PAM_INSTALL_CONFIG + $(INSTALL) -m 0644 -D package/linux-pam/other.pam \ + $(TARGET_DIR)/etc/pam.d/other +endef + +LINUX_PAM_POST_INSTALL_TARGET_HOOKS += LINUX_PAM_INSTALL_CONFIG + $(eval $(autotools-package)) diff --git a/package/linux-pam/other.pam b/package/linux-pam/other.pam new file mode 100644 index 0000000000..a198aa2acb --- /dev/null +++ b/package/linux-pam/other.pam @@ -0,0 +1,7 @@ +auth required pam_deny.so + +account required pam_deny.so + +password required pam_deny.so + +session required pam_deny.so |

