libpam-mklocaluser (0.20) unstable; urgency=medium

  [ Guido Berhoerster ]
  * Determine minimum UID for regular users from login.defs

  [ Mike Gabriel ]
  * debian/pam-python.py: Take user shell into account when creating local
    user account.

 -- Mike Gabriel <sunweaver@debian.org>  Mon, 02 Jun 2025 15:01:06 +0200

libpam-mklocaluser (0.19) unstable; urgency=medium

  * Team upload.

  [ Mihai Moldovan ]
  * misc: typo and grammar fixes.

  [ Guido Berhoerster ]
  * debian/pam-auth-update/mklocaluser:
    + Ensure this PAM module is ordered before other session type modules.
      Since this potentially changes the home directory, the module should be
      ordered before others which require the correct location of the home
      directory and/or start executables, particularly pam_systemd. (Closes:
      #1052475).
  * debian/pam-python.py:
    + Rewrite the user creation to use standard tools.
      This rewrites the user creation using modern python3 and fixing
      shell injection bugs by not using a shell to execute external
      commands.  Furthermore, it avoids direct manipulation of files and
      uses standard tools such as getent and userad/usermod instead which
      obey system-wide preferences.

 -- Mike Gabriel <sunweaver@debian.org>  Fri, 22 Sep 2023 18:29:16 +0200

libpam-mklocaluser (0.18) unstable; urgency=medium

  * Team upload.

  [ Mike Gabriel ]
  * debian/control:
    + Line-wrap B-D and D fields.
    + Provide more info in LONG_DESCRIPTION.
    + Update Section: field. Using "admin" section seems more appropriate.
      Thanks lintian.
  * debian/pam-python.py:
    - Set HOME env variable to the new home directory, also on initial user
      login. This makes it possible to drop the concept of enforced re-login
      on initial user login. (Closes: #760496, #961254).
    - Whitespace clean-up.

  [ Holger Levsen ]
  * Use secure URI in Homepage field, thanks lintian-brush.
  * Upgrade to newer source format 3.0 (native), thanks lintian-brush.
  * Update standards version to 4.5.0, no changes needed & thanks once more,
    lintian-brush.
  * Bump debhelper-compat to 13.
  * Drop versioned suggests on libpam-ccreds, as even squeeze has a newer
    version.

 -- Mike Gabriel <sunweaver@debian.org>  Fri, 22 May 2020 18:01:47 +0200

libpam-mklocaluser (0.17) unstable; urgency=medium

  * Team upload.

  [ Wolfgang Schweer ]
  * debian/pam-python.py: Use octal prefix for dirmode value, thanks piuparts.

 -- Holger Levsen <holger@debian.org>  Thu, 19 Dec 2019 11:51:10 +0100

libpam-mklocaluser (0.16) unstable; urgency=medium

  * Team upload.

  [ Wolfgang Schweer ]
  * debian/pam-python.py: Converted using 2to3 and manual edit afterwards
    (dirmode). Closes: #936899
  * debian/{control,rules}: Adjusted to match python3.

  [ Holger Levsen ]
  * Bump Standards-Version to 4.4.1, no changes needed.

 -- Holger Levsen <holger@debian.org>  Thu, 12 Dec 2019 12:30:55 +0100

libpam-mklocaluser (0.15) unstable; urgency=medium

  * Team upload.

  * d/control:
    - bump Standards-Version to 4.4.0, no changes needed.
    - bump debhelper-compat to 12.

 -- Holger Levsen <holger@debian.org>  Wed, 14 Aug 2019 12:56:35 +0200

libpam-mklocaluser (0.14) unstable; urgency=medium

  * Team upload.

  * d/control:
    - bump Standards-Version to 4.3.0, no changes needed.
    - use canonical URL for Vcs-Git, thanks lintian.

 -- Holger Levsen <holger@debian.org>  Wed, 16 Jan 2019 14:59:54 +0100

libpam-mklocaluser (0.13) unstable; urgency=medium

  * Team upload.

  [ Holger Levsen ]
  * d/control:
    - Bump debian/compat from 9 to 11.
    - Use the new debhelper-compat(=11) notation and drop d/compat.
    - Add "Rules-Requires-Root: no" to support building as non-root.
  * Bump Standards-Version to 4.2.1, no changes needed.
  * Add d/source/format documenting the use of source format 1.0.
  * d/postinst and prerm: use 'set -e' in the script body, thanks lintian.
  * d/copyright: Use https for copyright format URI.

 -- Holger Levsen <holger@debian.org>  Mon, 15 Oct 2018 20:31:01 +0200

libpam-mklocaluser (0.12) unstable; urgency=medium

  * Team upload.

  [ Holger Levsen ]
  * d/control:
    - switch packaging to salsa.debian.org. Thanks to the alioth admins for
      providing such a nice service so long!
    - bump Standards-Version to 4.1.4, no changes needed.

 -- Holger Levsen <holger@debian.org>  Thu, 31 May 2018 10:57:44 +0000

libpam-mklocaluser (0.11) unstable; urgency=low

  * Corrected dh invocation in d/rules.
  * Moved from debhelper 7 to 9.
  * Changed Standards-Version from 3.9.5 to 3.9.8.
  * Removed Morten Werner Forsbring as uploader.  Thank you for all
    your good work.
  * Added copyright info to python code.
  * Converted d/copyright to machine readable format.
  * Document git tag format in d/gpb.conf.

 -- Petter Reinholdtsen <pere@debian.org>  Thu, 22 Dec 2016 09:25:33 +0000

libpam-mklocaluser (0.10) unstable; urgency=high

  * Using urgency high to fix RC bug quickly.
  * Make sure to add trailing newline when updating /etc/passwd and
    /etc/shadow.  This is an RC bug blocking the package from working.
  * Change priority from extra to optional to match the archive override
    file.
  * Switch from python-support to dh-python.

 -- Petter Reinholdtsen <pere@debian.org>  Thu, 14 Aug 2014 14:40:23 +0200

libpam-mklocaluser (0.9) unstable; urgency=low

  * Update standard-version from 3.9.2 to 3.9.5.  No changes needed.
  * Make PAM module more robust:
  * Add to /etc/passwd and /etc/shadow using python code instead of
    calling "echo 'something' >> /etc/file" in a subshell.
  * Do not try to syslog an exception, as a string is needed in newer
    python versions.
  * Do not call chown -R, implement 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.
  * Change priority from optional to extra, as it depend on libpam-python
    which is priority extra, to avoid priority inversion.
  * Source is moved to git.  Update Vcs-* control file fields.

 -- Petter Reinholdtsen <pere@debian.org>  Mon, 09 Jun 2014 20:49:55 +0200

libpam-mklocaluser (0.8) unstable; urgency=low

  * Rewrite runcmd() to work with Python on Wheezy (Closes: #706753).

 -- Petter Reinholdtsen <pere@debian.org>  Sat, 04 May 2013 08:25:53 +0200

libpam-mklocaluser (0.8~deb7u1) wheezy; urgency=low

  * Rewrite runcmd() to work with Python on Wheezy (Closes: #706753).

 -- Petter Reinholdtsen <pere@debian.org>  Sat, 04 May 2013 08:25:53 +0200

libpam-mklocaluser (0.7) unstable; urgency=low

  * Rewrite how Popen() is used to ensure the script wait for the
    subprocesses to start before looking for their status (Closes:
    #634829).  Patch from Wolfgang Schulze-Zachau.
  * Update standards-version from 3.9.1 to 3.9.2.  No changes needed.

 -- Petter Reinholdtsen <pere@debian.org>  Thu, 28 Jul 2011 19:20:32 +0200

libpam-mklocaluser (0.6) unstable; urgency=low

  * Make module more robust.  Move group lookup into the code path
    where it is used, to avoid failing if the group is missing when
    the user is already available locally (Closes: #597174).
  * Add code to handle missing primary group information when creating
    the local user.
  * Change module to only run /usr/sbin/nscd if it exist (Closes: #597241).
  * Update standards-version from 3.8.4 to 3.9.1.  No changes needed.

 -- Petter Reinholdtsen <pere@debian.org>  Sat, 18 Sep 2010 16:55:27 +0200

libpam-mklocaluser (0.5) unstable; urgency=low

  * Do not create local home directory if the directory mentioned in
    passwd already exist.

 -- Petter Reinholdtsen <pere@debian.org>  Fri, 23 Jul 2010 18:27:14 +0200

libpam-mklocaluser (0.4) unstable; urgency=low

  [ Morten Werner Forsbring ]
  * Do not add localuser if it already exist in /etc/passwd.
  * Add build-dependency on python-support.
  * Make sure that dh_pysupport is run during build.
  * Added myself as uploader.

 -- Petter Reinholdtsen <pere@debian.org>  Tue, 01 Jun 2010 21:01:16 +0200

libpam-mklocaluser (0.3) unstable; urgency=low

  * Make sure the path to the original home directory and the user
    name of the user logging in is passed on to the hook scripts.

 -- Petter Reinholdtsen <pere@debian.org>  Wed, 19 May 2010 14:38:03 +0200

libpam-mklocaluser (0.2) unstable; urgency=low

  * Correct typo in pam-configs entry causing the PAM module to fail.

 -- Petter Reinholdtsen <pere@debian.org>  Wed, 19 May 2010 11:08:19 +0200

libpam-mklocaluser (0.1) unstable; urgency=low

  * Initial release.

 -- Petter Reinholdtsen <pere@debian.org>  Mon, 17 May 2010 19:54:09 +0200
