mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
pam: Always use pam_xdg for session and xdm
This ensure that the XDG_RUNTIME_DIR is always created and the environment variable is present which is a must for any wayland user (at least). The only "cost" of it is a directory is created and unused. Reviewed by: des Differential Revision: https://reviews.freebsd.org/D44012 Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
6e69612d5d
commit
6b9e6f12e5
|
@ -16,6 +16,7 @@ account required pam_unix.so
|
|||
# session
|
||||
#session optional pam_ssh.so want_agent
|
||||
session required pam_lastlog.so no_fail
|
||||
session required pam_xdg.so
|
||||
|
||||
# password
|
||||
#password sufficient pam_krb5.so no_warn try_first_pass
|
||||
|
|
|
@ -16,6 +16,7 @@ account required pam_unix.so
|
|||
# session
|
||||
#session required pam_ssh.so want_agent
|
||||
session required pam_lastlog.so no_fail
|
||||
session required pam_xdg.so
|
||||
|
||||
# password
|
||||
password required pam_deny.so
|
||||
|
|
Loading…
Reference in a new issue