[Bug 682662] Re: pam-auth-update ignores debconf settings
Niklas Andersson
niklas.andersson at openforce.se
Sat Mar 23 13:12:04 UTC 2019
This VERY ugly hack works on Ubuntu 18.04...
-- /usr/share/pam-config/mkhomedir -----
Default: yes
Priority: 0
Session-Type: Additional
Session:
required pam_mkhomedir.so skel=/etc/skel umask=0027
------------------------
apt-get install debconf-utils
echo libpam-runtime libpam-runtime/profiles multiselect mkhomedir | debconf-get-selections
rm /var/lib/pam/seen
rm /etc/pam.d/common-*
DEBIAN_FRONTEND=noninteractive pam-auth-update --force
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/682662
Title:
pam-auth-update ignores debconf settings
Status in dpkg package in Ubuntu:
Confirmed
Status in pam package in Ubuntu:
Triaged
Status in pam package in Debian:
Won't Fix
Bug description:
pam-auth-update ignores the current debconf-settings. This makes it
impossible to do automatically configure pam in noninteractive
installations.
Demonstration:
~ # debconf-get-selections | grep libpam-runtime
libpam-runtime libpam-runtime/override boolean true
libpam-runtime libpam-runtime/conflicts error
libpam-runtime libpam-runtime/no_profiles_chosen error
libpam-runtime libpam-runtime/profiles multiselect krb5, unix, ldap, tmpdir, gnome-keyring, consolekit
libpam-runtime libpam-runtime/you-had-no-auth error
~ # DEBIAN_FRONTEND=noninteractive pam-auth-update
~ # debconf-get-selections | grep libpam-runtime
libpam-runtime libpam-runtime/override boolean false
libpam-runtime libpam-runtime/conflicts error
libpam-runtime libpam-runtime/no_profiles_chosen error
libpam-runtime libpam-runtime/profiles multiselect krb5, unix, winbind, ldap
libpam-runtime libpam-runtime/you-had-no-auth error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/682662/+subscriptions
More information about the foundations-bugs
mailing list