14 Commits

Author SHA1 Message Date
Michel Decima
df15139b15 fix(postinst): options for certupdate and dongle-aladdin 2026-04-03 15:45:04 +02:00
Michel Decima
4d5cfa9d91 packaging: use non-interactive mode for pam-auth-update in d/postinst
Force non-interactive mode to avoid useless debconf message
about conflict between sss and yourdev profiles.

Solves #12
2025-02-05 09:02:15 +01:00
Michel Decima
5a6fe5ecc6 chore: use drop-in fragment for pwquality.conf
Solves issue #6
2023-01-18 14:09:41 +01:00
jfv
7c370fded7 Update rule about password min size from 12 to 10 2023-01-13 16:09:10 +01:00
jfv
a489398c4a Improve password rules for local accounts 2023-01-12 09:07:14 +01:00
Michel Decima
807f7118e3 license: add common license header 2022-09-14 16:22:57 +02:00
Michel Decima
b03d583f88 chore: mark some PAM profiles as seen in d/postinst
Mark PAM profiles krb5, sss and yourdev as "seen" in /var/lib/pam so
next execution of command /usr/sbin/pam-auth-update in interactive
mode will ignore the values of 'Default' properties.
This avoids the automatic selection of the sss profile, which conflicts
with the yourdev profile.
2022-01-02 17:23:53 +01:00
Michel Decima
ccb17c7352 feat: give higher priority to pam_sss module
With default priority (128), pam-auth-update put module pam_sss after
module pam_unix in /etc/pam.d/common-auth, and then a user with a
local account and local password synchronized with AD password will
never be granted a Kerberos TGT on session opening.
2021-10-20 02:54:46 -07:00
Michel Decima
af60473e89 fix: do not use --force with pam-auth-update
According to pam-auth-update(8), it is an error to use option --force
in postinst script:

    This  option  must not be used by package maintainer scripts;
    it is intended for use by administrators only.
2021-10-19 23:38:16 -07:00
Michel Decima
151c17f676 packaging: remove lintian warnings 2021-10-13 09:27:12 +02:00
Michel Decima
6c7a4fd683 feat: add pam-pkcs11 configuration
Recommends sssd, sssd-tools, libpam-sss
Add SSSD configuration (sssd.conf)
Configure certificates for SSSD (postinst)
Restart SSSD service (postinst)
2021-10-13 09:08:02 +02:00
Michel Decima
1574958cf5 feat: add pam-pkcs11 configuration
Recommends libpam-pkcs11 package.
Add configuration for Safenet module (pam_pkcs11.conf)
Add UID mapper generator (pkcs11_generate_uids)
Configure certificates for pam_pkcs11 from postinst.
2021-10-12 12:08:41 +02:00
Michel Decima
df1b0f8c36 feat: add GDM customization
disable fingerprint and smartcard login
add a banner text and logo on login screen
2021-10-08 18:10:39 +02:00
Michel Decima
433849aaad Add debian packaging
Auto configure PAM with pam-auth-update:
  - enable ccreds-check ccreds-save
  - enable krb5
2021-10-08 11:06:56 +02:00