diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | system-login.in | 9 |
2 files changed, 13 insertions, 0 deletions
@@ -20,6 +20,10 @@ ifeq "$(CONSOLEKIT)" "yes" PAMFLAGS += -DHAVE_CONSOLEKIT endif +ifeq "$(GNOME_KEYRING)" "yes" +PAMFLAGS += -DHAVE_GNOME_KEYRING +endif + ifeq "$(SELINUX)" "yes" PAMFLAGS += -DHAVE_SELINUX=1 endif diff --git a/system-login.in b/system-login.in index 89fb084..cdbee54 100644 --- a/system-login.in +++ b/system-login.in @@ -1,3 +1,6 @@ +#if HAVE_GNOME_KEYRING +auth optional pam_gnome_keyring.so +#endif #if HAVE_TALLY auth required pam_tally.so file=/var/log/faillog onerr=succeed DEBUG #endif @@ -16,11 +19,17 @@ account include system-auth account required pam_tally.so file=/var/log/faillog onerr=succeed DEBUG #endif +#if HAVE_GNOME_KEYRING +password optional pam_gnome_keyring.so +#endif password include system-auth #if HAVE_SELINUX session required pam_selinux.so close #endif +#if HAVE_GNOME_KEYRING +session optional pam_gnome_keyring.so auto_start +#endif #if HAVE_ENV session required pam_env.so DEBUG #endif |