From b943ef609ef9aeba96599770f730d27b529146a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 6 Feb 2023 03:53:51 +0300 Subject: cleanup: remove old files, improve install Clean up old files and improve installation of system-wide configuration. --- system/etc/pam.d/swaylock | 7 +++++++ system/etc/pam.d/system-local-login | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 system/etc/pam.d/swaylock create mode 100644 system/etc/pam.d/system-local-login (limited to 'system/etc/pam.d') diff --git a/system/etc/pam.d/swaylock b/system/etc/pam.d/swaylock new file mode 100644 index 0000000..1c190f0 --- /dev/null +++ b/system/etc/pam.d/swaylock @@ -0,0 +1,7 @@ +# +# PAM configuration file for the swaylock screen locker. By default, it includes +# the 'login' configuration file (see /etc/pam.d/login) +# + +auth include login +auth optional pam_gnupg.so diff --git a/system/etc/pam.d/system-local-login b/system/etc/pam.d/system-local-login new file mode 100644 index 0000000..397539d --- /dev/null +++ b/system/etc/pam.d/system-local-login @@ -0,0 +1,8 @@ +#%PAM-1.0 + +auth include system-login +auth optional pam_gnupg.so +account include system-login +password include system-login +session include system-login +session optional pam_gnupg.so -- cgit v1.2.3