1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
From: Marc-Christian Petersen <m.c.p@gmx.de>
Date: Wed, 9 Mar 2016 19:22:41 +0200
Subject: debian-pam.d-pluto
Forwarded: not-needed
debian: fix /etc/pam.d/pluto to work with debian
Signed-off-by: Tuomo Soini <tis@foobar.fi>
---
configs/pam.d/pluto | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/configs/pam.d/pluto b/configs/pam.d/pluto
index 3855385..bb9b22c 100644
--- a/configs/pam.d/pluto
+++ b/configs/pam.d/pluto
@@ -1,16 +1,11 @@
-#%PAM-1.0
-# Regular System auth
-auth include system-auth
-#
-# Google Authenticator with Regular System auth in combined prompt mode
-# (OTP is added to the password at the password prompt without separator)
-# auth required pam_google_authenticator.so forward_pass
-# auth include system-auth use_first_pass
-#
-# Common
-account required pam_nologin.so
-account include system-auth
-password include system-auth
-session optional pam_keyinit.so force revoke
-session include system-auth
-session required pam_loginuid.so
+@include common-auth
+
+account required pam_nologin.so
+account required pam_access.so
+@include common-account
+
+session optional pam_keyinit.so force revoke
+session required pam_loginuid.so
+@include common-session
+
+@include common-password
|