path: root/meta/recipes-extended
diff options
authorMing Liu <>2013-07-26 17:51:02 +0800
committerRichard Purdie <>2013-07-31 06:56:27 +0100
commit4ca0af699b5b4b3cf95b3e76482651949fd922ac (patch)
tree8bec292a5abfb5f77b084a6c8711a83e3883c7a6 /meta/recipes-extended
parent776c753bc5745b098d6a80e61c7332d956ae7f4f (diff)
libpam: deny all services for the OTHER entries
To be secure, change behavior of the OTHER entries to warn and deny access to everything by stating on all services. Signed-off-by: Ming Liu <> Signed-off-by: Saul Wold <>
Diffstat (limited to 'meta/recipes-extended')
1 files changed, 6 insertions, 9 deletions
diff --git a/meta/recipes-extended/pam/libpam/pam.d/other b/meta/recipes-extended/pam/libpam/pam.d/other
index 6e40cd0c02..ec970ecbe0 100644
--- a/meta/recipes-extended/pam/libpam/pam.d/other
+++ b/meta/recipes-extended/pam/libpam/pam.d/other
@@ -6,22 +6,19 @@
#pam_open_session, the session module out of /etc/pam.d/other is
-#If you really want nothing to happen then use or as appropriate.
# We use to generate syslog notes that the 'other'
#fallback rules are being used (as a hint to suggest you should setup
-#specific PAM rules for the service and aid to debugging). We then
-#fall back to the system default in /etc/pam.d/common-*
+#specific PAM rules for the service and aid to debugging). Then to be
+#secure, deny access to all services by default.
auth required
-auth include common-auth
+auth required
account required
-account include common-account
+account required
password required
-password include common-password
+password required
session required
-session include common-session
+session required