How to Install and Uninstall libpam-mklocaluser Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 04,2024

1. Install "libpam-mklocaluser" package

This guide covers the steps necessary to install libpam-mklocaluser on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libpam-mklocaluser

2. Uninstall "libpam-mklocaluser" package

This is a short guide on how to uninstall libpam-mklocaluser on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libpam-mklocaluser $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpam-mklocaluser package on Ubuntu 21.10 (Impish Indri)

Package: libpam-mklocaluser
Architecture: all
Version: 0.18
Priority: optional
Section: universe/misc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Edu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: python3:any, libpam-python
Suggests: libpam-ccreds | libpam-sss
Filename: pool/universe/libp/libpam-mklocaluser/libpam-mklocaluser_0.18_all.deb
Size: 7284
MD5sum: f7781dcb7aa326bf9caf0a4059cb6651
SHA1: 400273df563f97bbcdbcd654d0ebeff171c07852
SHA256: 1bfb9de345898454c879a66104bd1c06b98b4f7042947a6ca1b05f4d990be3a3
SHA512: f43ba67ae560552007b44af605dc0647cee920ea0fd1234db42cfcbc98f6e01554bce141dca5034d4cd3a402534ade4068c25af929b4e8b265034f0cab1fb1e1
Homepage: https://www.skolelinux.org/
Description-en: Configure PAM to create a local user if it do not exist already
When the user logs in for the first time, a local POSIX user account is
created in /etc/passwd and primary group created in /etc/group, and a
local home directory is created in /home.
.
This is useful on roaming computers when the password is set up to be
cached by for example libpam-ccreds or sssd to allow login without
network connectivity using the password provided by a network
authentication service like Kerberos or LDAP.
.
Other than the caching mechanisms of libpam-ccreds or libpam-sssd /
libnss-sssd, the libpam-mklocaluser approach makes the LDAP accounts
more persistent on the roaming workstation and robust again credentials
cache deletions and such.
.
The pam_mklocaluser PAM module additionally allows for execution of
additional hook scripts when users log in to such a roaming computer for
the first time.
Description-md5: be5f1c96218b3b5298f6dfde30d32b9a