From c61ed972172cd77608648cb415d0a4ee0638d9d7 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 18 Feb 2020 10:11:28 +0300 Subject: pam rules; forgot to add lid close/open script --- system/pam.d/lightdm | 9 +++++++++ system/pam.d/swaylock | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 system/pam.d/lightdm create mode 100644 system/pam.d/swaylock (limited to 'system') diff --git a/system/pam.d/lightdm b/system/pam.d/lightdm new file mode 100644 index 0000000..f383294 --- /dev/null +++ b/system/pam.d/lightdm @@ -0,0 +1,9 @@ +#%PAM-1.0 +auth include system-login +auth optional pam_gnupg.so +-auth optional pam_gnome_keyring.so +account include system-login +password include system-login +session include system-login +session optional pam_gnupg.so +-session optional pam_gnome_keyring.so auto_start diff --git a/system/pam.d/swaylock b/system/pam.d/swaylock new file mode 100644 index 0000000..1c190f0 --- /dev/null +++ b/system/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 -- cgit v1.2.3