From 63a34df6e049dee4db4d290e4e0ee3b0cd31ad59 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Sat, 16 Feb 2013 17:01:28 +0100 Subject: Add gdm-pin service files Originally, the idea was to have pam-pin as an optional module in gdm-password, but since the PIN can easily get misconfigured, what we want here is to give the user a choice at the login screen, so we want two different conversations at the same time. The pin module is marked requisite, so if it fails we stop before touching the other modules and immediately report to the greeter (which then goes on with gdm-password) https://bugzilla.gnome.org/show_bug.cgi?id=693968 --- data/pam-exherbo/gdm-pin.pam | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/pam-exherbo/gdm-pin.pam (limited to 'data/pam-exherbo') diff --git a/data/pam-exherbo/gdm-pin.pam b/data/pam-exherbo/gdm-pin.pam new file mode 100644 index 00000000..d62c7735 --- /dev/null +++ b/data/pam-exherbo/gdm-pin.pam @@ -0,0 +1,10 @@ +account include system-login + +auth requisite pam_pin.so +auth substack system-login +auth optional pam_gnome_keyring.so + +password required pam_deny.so + +session substack system-login +session optional pam_gnome_keyring.so auto_start \ No newline at end of file -- cgit v1.2.1