[debian-edu-commits] debian-edu/upstream/ 62/71: Make sure syslog message make it clear that both passwd and shadow is updated by the module.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Jun 9 18:25:40 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 e22d1a1ebc0d8faeec46161aec7491ee01e4e203
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sat May 4 09:51:01 2013 +0000

    Make sure syslog message make it clear that both passwd and shadow
    is updated by the module.
---
 debian/changelog     | 2 ++
 debian/pam-python.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index aee11e9..7ad8075 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ libpam-mklocaluser (0.8) UNRELEASED; urgency=low
   * Do not call chown -R, implemnt it in python instead.
   * Correct test pam_handler function arguments and make it output
     more info during testing.
+  * Make sure syslog message make it clear that both passwd and shadow
+    is updated by the module.
 
  -- Petter Reinholdtsen <pere at debian.org>  Sat, 04 May 2013 08:25:53 +0200
 
diff --git a/debian/pam-python.py b/debian/pam-python.py
index e3cb341..a396ac3 100755
--- a/debian/pam-python.py
+++ b/debian/pam-python.py
@@ -90,7 +90,7 @@ def check_and_create_localuser(pamh, user):
       syslog.syslog("Unknown primary group with gid %d" % gid)
       groupname = "[unknown]"
 
-    syslog.syslog("Creating local passwd entry uid=%d(%s) gid=%d(%s) gecos='%s' home=%s" % (uid, user, gid, groupname, gecos, newhomedir))
+    syslog.syslog("Creating local passwd/shadow entry uid=%d(%s) gid=%d(%s) gecos='%s' home=%s" % (uid, user, gid, groupname, gecos, newhomedir))
     try:
       # Add user entry with overridden home directory in /etc/passwd.
 

-- 
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