aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-21 21:15:35 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-21 21:15:35 +0100
commit9a5b381da64672027982c4393672f937a51b2710 (patch)
tree9ec39c6b75d40762247a8484858f8bd2b200630d
parentIgnore the two new files. (diff)
downloadpambase-9a5b381da64672027982c4393672f937a51b2710.tar.gz
pambase-9a5b381da64672027982c4393672f937a51b2710.tar.bz2
pambase-9a5b381da64672027982c4393672f937a51b2710.zip
Add option to use ConsoleKit in local logins.
-rw-r--r--Makefile4
-rw-r--r--system-local-login.in3
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2bdbaa6..0772ae5 100644
--- a/Makefile
+++ b/Makefile
@@ -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