PAM-AUTH-UPDATE(8)
โจ PAM-AUTH-UPDATE(8) โ NAME โจ
okay so bestie, this is the manual for pam-auth-update, the tool that lets you manage PAM configuration using packaged profiles ๐
๐
๐ NAME
pam-auth-update - manage PAM configuration using packaged profiles ๐ธ
๐ฆ SYNOPSIS
pam-auth-update [--package [--remove profile [profile...]]] [--force]
[--enable profile [profile...]] [--disable profile [profile...]]
๐ DESCRIPTION
okay so pam-auth-update is a utility that lets you configure the central authentication policy for the system using pre-defined profiles that come from PAM module packages. it's giving organized ๐ง
profiles shipped in the /usr/share/pam-configs/ directory are the ones that specify the modules (plus their options) to enable, the preferred ordering compared to other profiles, and whether a profile should be enabled by default. so iconic โจ
packages that provide PAM modules register their profiles at install time by calling pam-auth-update --package. picking profiles is done through the standard debconf interface. the profile selection question gets asked at medium'</lavender> priority when packages are added or removed, so no user interaction is required by default ๐ users can also invoke pam-auth-update` directly to change their authentication configuration whenever they want ๐
the script makes every effort to respect local changes to /etc/pam.d/common-*. local modifications to the list of module options will be preserved, BUT additions of modules within the managed portion of the stack will make pam-auth-update treat the config files as locally modified, and it won't make further changes to them unless you give it the --force option ๐ญ
if you tell pam-auth-update to override local configuration changes, the locally-modified files get saved in/etc/pam.d/with a suffix of.pam-old. save your stuff, bestie ๐ซถ
๐ OPTIONS
--packageโ this tells pam-auth-update that the caller is a package maintainer script. it lowers the priority of debconf questions to `medium' so the user doesn't get prompted by default ๐--disable profile [profile...]โ disables the specified profiles in the system configuration. system admin scripts can use this to switch profiles off ๐--enable profile [profile...]โ enables the specified profiles in the system configuration. this is how you turn on profiles that aren't on by default โญ--remove profile [profile...]โ removes the specified profiles from the system configuration. the vibe: always runpam-auth-update --removeBEFORE the modules they reference get deleted from disk, so PAM stays consistent and usable the whole time during package upgrades or removals ๐ฅ--forceโ overwrites the current PAM configuration without prompting. โ ๏ธ this one must NOT be used by package maintainer scripts; it's for administrators only ๐
๐ FILES
/etc/pam.d/common-*โ global PAM configuration, affecting all installed services ๐/usr/share/pam-configs/โ package-supplied authentication profiles ๐ง
๐ AUTHOR
Steve Langasek <steve.langasek@canonical.com> ๐
๐ธ COPYRIGHT
Copyright (C) 2008 Canonical Ltd. ๐ฆ
๐ SEE ALSO
PAM(7), pam.d(5), debconf(7) โจ
that's the whole tea, bestie ๐ซถ this page was from Debian, version 08/23/2008, and it's the manual for PAM-AUTH-UPDATE(8). periodt ๐ ๐
๐ฆ where this page comes from
- debian bookworm: libpam-runtime 1.5.2-6+deb12u2 ยท BSD-3-Clause OR GPL
- debian trixie: libpam-runtime 1.7.0-5 ยท BSD-3-Clause OR GPL
- ubuntu noble: libpam-runtime 1.5.3-5ubuntu5 ยท BSD-3-Clause OR GPL
- ubuntu noble: libpam-runtime 1.5.3-5ubuntu5.7 ยท BSD-3-Clause OR GPL
- ubuntu questing: libpam-runtime 1.7.0-5ubuntu2 ยท BSD-3-Clause OR GPL
- ubuntu resolute: libpam-runtime 1.7.0-5ubuntu3 ยท BSD-3-Clause OR GPL
- ubuntu resolute: libpam-runtime 1.7.0-5ubuntu3.2 ยท BSD-3-Clause OR GPL
- ubuntu stonking: libpam-runtime 1.7.0-5ubuntu4 ยท BSD-3-Clause OR GPL
- Copyright (C) 2008 Canonical Ltd
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms