aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-19 17:35:34 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-19 17:35:34 +0100
commitb21678fe9dbf46798155d4a22b0413910291256e (patch)
tree129d917d6565fc1e050b590b6b87820ba52dee6b
parentAdd pam_motd and pam_mail to system-login. (diff)
downloadpambase-b21678fe9dbf46798155d4a22b0413910291256e.tar.gz
pambase-b21678fe9dbf46798155d4a22b0413910291256e.tar.bz2
pambase-b21678fe9dbf46798155d4a22b0413910291256e.zip
Add separated pamd files for local and remote login.
This way stuff like ConsoleKit (or the now-defunct pam_console) can be added to local logins, and extra requirements can be added for remote logins.
-rw-r--r--Makefile2
-rw-r--r--system-local-login.in4
-rw-r--r--system-remote-login.in4
3 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9472d2c..2bdbaa6 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
CPP=cpp
# The pam.d file to create
-PAMD=system-auth system-login other
+PAMD=system-auth system-login system-local-login system-remote-login other
# Get this by default, even if I'd like avoid it...
ifeq "$(IMPLEMENTATION)" ""
diff --git a/system-local-login.in b/system-local-login.in
new file mode 100644
index 0000000..2f415ed
--- /dev/null
+++ b/system-local-login.in
@@ -0,0 +1,4 @@
+auth include system-login
+account include system-login
+password include system-login
+session include system-login
diff --git a/system-remote-login.in b/system-remote-login.in
new file mode 100644
index 0000000..2f415ed
--- /dev/null
+++ b/system-remote-login.in
@@ -0,0 +1,4 @@
+auth include system-login
+account include system-login
+password include system-login
+session include system-login