How to Install and Uninstall libpam-tmpdir Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "libpam-tmpdir" package

Please follow the step by step instructions below to install libpam-tmpdir on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libpam-tmpdir

2. Uninstall "libpam-tmpdir" package

This is a short guide on how to uninstall libpam-tmpdir on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libpam-tmpdir package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libpam-tmpdir
Priority: optional
Section: universe/admin
Installed-Size: 90
Maintainer: Ubuntu Developers
Original-Maintainer: Tollef Fog Heen
Architecture: amd64
Source: pam-tmpdir
Version: 0.09
Depends: libc6 (>= 2.8), libpam0g (>= 0.99.7.1), libpam-runtime (>= 1.0.1-6)
Pre-Depends: multiarch-support
Filename: pool/universe/p/pam-tmpdir/libpam-tmpdir_0.09_amd64.deb
Size: 12980
MD5sum: bff0587503987cb27fff7052a7926a8f
SHA1: f35d46ab2191743500ca58294872cfc6805deebc
SHA256: 166bf696aad893745ece2c83d6766cfb6459a0caf5d9aa611989b09d1afb9046
Description-en: automatic per-user temporary directories
Many programs use $TMPDIR for storing temporary files. Not
all of them are good at securing the permissions of those
files. libpam-tmpdir sets $TMPDIR and $TMP for PAM sessions
and sets the permissions quite tight. This helps system
security by having an extra layer of security, making such
symlink attacks and other /tmp based attacks harder or
impossible
Description-md5: c9c33816b35630d5805a8dca706f7906
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu