[debian-edu-commits] debian-edu/upstream/ 24/71: Make sure console logins are considered local too.
Petter Reinholdtsen
pere at moszumanska.debian.org
Mon Jun 9 18:25:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository libpam-mklocaluser.
commit 6dbc67c7cd2012957ba640e8a206304b4d86c166
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Tue May 4 12:24:48 2010 +0000
Make sure console logins are considered local too.
---
debian/pam-python.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/pam-python.py b/debian/pam-python.py
index d97dc1c..ed4a521 100755
--- a/debian/pam-python.py
+++ b/debian/pam-python.py
@@ -127,7 +127,7 @@ def pam_sm_open_session(pamh, flags, argv):
# Only create local users for console logins
try:
- if pamh.rhost != None:
+ if pamh.rhost != None and 0 != len(pamh.rhost):
print "Remote login, ignoring pam-python for localoffline"
return pamh.PAM_SUCCESS
except pamh.exception, e:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/libpam-mklocaluser.git
More information about the debian-edu-commits
mailing list