From 327b59d73266f8215b8945d799ce8c84043980ea Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Mon, 13 Aug 2012 20:43:41 +0200 Subject: pam: add exherbo configuration from Exherbo commit http://git.exherbo.org/gnome.git/commit/?id=fadb3f3b8ad30833618f0695e7564983a059d58e http://bugzilla-attachments.gnome.org/attachment.cgi?id=221058 Signed-off-by: Marc-Antoine Perennou --- data/pam-exherbo/gdm-autologin.pam | 17 +++++++++++++++++ data/pam-exherbo/gdm-fingerprint.pam | 17 +++++++++++++++++ data/pam-exherbo/gdm-launch-environment.pam | 11 +++++++++++ data/pam-exherbo/gdm-password.pam | 18 ++++++++++++++++++ data/pam-exherbo/gdm-smartcard.pam | 18 ++++++++++++++++++ 5 files changed, 81 insertions(+) create mode 100644 data/pam-exherbo/gdm-autologin.pam create mode 100644 data/pam-exherbo/gdm-fingerprint.pam create mode 100644 data/pam-exherbo/gdm-launch-environment.pam create mode 100644 data/pam-exherbo/gdm-password.pam create mode 100644 data/pam-exherbo/gdm-smartcard.pam (limited to 'data/pam-exherbo') diff --git a/data/pam-exherbo/gdm-autologin.pam b/data/pam-exherbo/gdm-autologin.pam new file mode 100644 index 00000000..71556e81 --- /dev/null +++ b/data/pam-exherbo/gdm-autologin.pam @@ -0,0 +1,17 @@ +# mirrors system-auth / system(-local)-login +# except for the authentication method, which is: +# always permit login + +auth required pam_env.so +auth required pam_tally.so file=/var/log/faillog onerr=succeed +auth required pam_shells.so +auth required pam_nologin.so +auth required pam_permit.so +-auth optional pam_gnome_keyring.so + +account include system-local-login + +password include system-local-login + +session include system-local-login +-session optional pam_gnome_keyring.so auto_start diff --git a/data/pam-exherbo/gdm-fingerprint.pam b/data/pam-exherbo/gdm-fingerprint.pam new file mode 100644 index 00000000..15f24fae --- /dev/null +++ b/data/pam-exherbo/gdm-fingerprint.pam @@ -0,0 +1,17 @@ +# mirrors system-auth / system(-local)-login +# except for the authentication method, which is: +# fingerprint login + +auth required pam_env.so +auth required pam_tally.so file=/var/log/faillog onerr=succeed +auth required pam_shells.so +auth required pam_nologin.so +auth required pam_fprintd.so +-auth optional pam_gnome_keyring.so + +account include system-local-login + +password include system-local-login + +session include system-local-login +-session optional pam_gnome_keyring.so auto_start diff --git a/data/pam-exherbo/gdm-launch-environment.pam b/data/pam-exherbo/gdm-launch-environment.pam new file mode 100644 index 00000000..1c96229f --- /dev/null +++ b/data/pam-exherbo/gdm-launch-environment.pam @@ -0,0 +1,11 @@ +# this is for the session that gdm spawns to show the login screen + +auth required pam_env.so +auth required pam_nologin.so +auth required pam_permit.so + +account include system-local-login + +password include system-local-login + +session include system-local-login diff --git a/data/pam-exherbo/gdm-password.pam b/data/pam-exherbo/gdm-password.pam new file mode 100644 index 00000000..3ad9ce5c --- /dev/null +++ b/data/pam-exherbo/gdm-password.pam @@ -0,0 +1,18 @@ +# mirrors system-auth / system(-local)-login +# except for the authentication method, which is: +# password login + +auth required pam_env.so +auth required pam_tally.so file=/var/log/faillog onerr=succeed +auth required pam_shells.so +auth required pam_nologin.so +auth required pam_unix.so try_first_pass likeauth nullok +-auth optional pam_gnome_keyring.so + +account include system-local-login + +password include system-local-login + +session include system-local-login +-session optional pam_gnome_keyring.so auto_start + diff --git a/data/pam-exherbo/gdm-smartcard.pam b/data/pam-exherbo/gdm-smartcard.pam new file mode 100644 index 00000000..0623c6ed --- /dev/null +++ b/data/pam-exherbo/gdm-smartcard.pam @@ -0,0 +1,18 @@ +# mirrors system-auth / system(-local)-login +# except for the authentication method, which is: +# smartcard login + +auth required pam_env.so +auth required pam_tally.so file=/var/log/faillog onerr=succeed +auth required pam_shells.so +auth required pam_nologin.so +auth [success=done ignore=ignore default=die] pam_pkcs11.so wait_for_card card_only +-auth optional pam_gnome_keyring.so + +account include system-local-login + +password include system-local-login + +session include system-local-login +-session optional pam_gnome_keyring.so auto_start + -- cgit v1.2.1