diff options
author | Florian Franzmann | 2022-05-21 23:57:09 +0200 |
---|---|---|
committer | Florian Franzmann | 2022-05-23 18:01:25 +0200 |
commit | 6b06143e4e4ba00cf5ab70a5c1459147ccc3c5cf (patch) | |
tree | ea76bf1f3c03b80b581353510e4f9e02f652f094 | |
parent | 531439626e32170d271ae42db05983937d565259 (diff) |
xorg-app/xdm: add pam config
-rw-r--r-- | xorg-app/xdm/HISTORY | 1 | ||||
-rw-r--r-- | xorg-app/xdm/pam.d/xdm | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/xorg-app/xdm/HISTORY b/xorg-app/xdm/HISTORY index 8169b4f7f4..161a968cbe 100644 --- a/xorg-app/xdm/HISTORY +++ b/xorg-app/xdm/HISTORY @@ -2,6 +2,7 @@ * 0001-use-X-s-default-authentication-mechanism-instead-of-.patch, BUILD: disable xdm's authentication with config option instead of patch + * pam.d/xdm: add pam config 2022-04-04 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 1.1.13 diff --git a/xorg-app/xdm/pam.d/xdm b/xorg-app/xdm/pam.d/xdm new file mode 100644 index 0000000000..cd17cf2abd --- /dev/null +++ b/xorg-app/xdm/pam.d/xdm @@ -0,0 +1,23 @@ +#%PAM-1.0 + +# Block login if they are disabled +auth required pam_nologin.so + +# Load environment from /etc/environment and ~/.pam_environment +auth required pam_env.so + +# Use /etc/passwd and /etc/shadow for passwords +auth required pam_unix.so + +# Check account is active, change password if required +account required pam_unix.so + +# Allow password to be changed +password required pam_unix.so + +# integrate with systemd-logind +session optional pam_systemd.so + +# Setup session +session required pam_unix.so +session required pam_limits.so |