OK, 'dpkg-reconfigure libpam-runtime' (not libpam-modules) invokes 'pam-
auth-update' binary which is able to generate/update "...Local
modifications to /etc/pam.d/common-* ...":

# cd /etc/pam.d

# mkdir COMMON
# mv common-* COMMON/

# dpkg-reconfigure libpam-modules
# LC_ALL=C ls -alt /etc/pam.d/common-*
[ OUTPUT ]
ls: cannot access /etc/pam.d/common-*: No such file or directory

[ Run #1: Keep local mods ]
# dpkg-reconfigure libpam-runtime
[ OUTPUT ]
pam-auth-update: Local modifications to /etc/pam.d/common-*, not updating.
pam-auth-update: Run pam-auth-update --force to override.

[ Run #2: (Re)Generate local mods ]
# dpkg-reconfigure libpam-runtime
# LC_ALL=C ls -alt /etc/pam.d/common-*
-rw-r--r-- 1 root root 1515 Jan  8 16:21 /etc/pam.d/common-session
-rw-r--r-- 1 root root 1435 Jan  8 16:21 
/etc/pam.d/common-session-noninteractive
-rw-r--r-- 1 root root 1208 Jan  8 16:21 /etc/pam.d/common-account
-rw-r--r-- 1 root root 1480 Jan  8 16:21 /etc/pam.d/common-password
-rw-r--r-- 1 root root 1249 Jan  8 16:21 /etc/pam.d/common-auth

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1097262

Title:
  [pam][pam_umask]: Explicitly set the user specific umask at (shell)
  login to "0022" value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1097262/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to