diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-02-21 21:15:35 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-02-21 21:15:35 +0100 |
commit | 9a5b381da64672027982c4393672f937a51b2710 (patch) | |
tree | 9ec39c6b75d40762247a8484858f8bd2b200630d | |
parent | Ignore the two new files. (diff) | |
download | pambase-9a5b381da64672027982c4393672f937a51b2710.tar.gz pambase-9a5b381da64672027982c4393672f937a51b2710.tar.bz2 pambase-9a5b381da64672027982c4393672f937a51b2710.zip |
Add option to use ConsoleKit in local logins.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | system-local-login.in | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -16,6 +16,10 @@ ifeq "$(CRACKLIB)" "yes" PAMFLAGS += -DHAVE_CRACKLIB=1 endif +ifeq "$(CONSOLEKIT)" "yes" +PAMFLAGS += -DHAVE_CONSOLEKIT +endif + ifeq "$(SELINUX)" "yes" PAMFLAGS += -DHAVE_SELINUX=1 endif diff --git a/system-local-login.in b/system-local-login.in index 2f415ed..8f16750 100644 --- a/system-local-login.in +++ b/system-local-login.in @@ -1,4 +1,7 @@ auth include system-login account include system-login password include system-login +#if HAVE_CONSOLEKIT +session optional pam_ck_connector.so +#endif session include system-login |