libpam-tmpdir - automatic per-user temporary directories

Property Value
Distribution Debian 7 (Wheezy)
Repository Debian Main amd64
Package name libpam-tmpdir
Package version 0.09
Package architecture amd64
Package type deb
Installed size 90 B
Download size 13.17 KB
Official Mirror
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


Package Version Architecture Repository
libpam-tmpdir_0.09_i386.deb 0.09 i386 Debian Main
libpam-tmpdir - - -


Name Value
libc6 >= 2.8
libpam-runtime >= 1.0.1-6
libpam0g >=
multiarch-support -


Type URL
Binary Package libpam-tmpdir_0.09_amd64.deb
Source Package pam-tmpdir

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libpam-tmpdir deb package:
    # sudo apt-get install libpam-tmpdir




2012-03-08 - Tollef Fog Heen <>
pam-tmpdir (0.09) unstable; urgency=low
* Add README.Debian explaining a bit about how pam-tmpdir works.
* Drop Steve Kemp from Uploaders as he's unfortunately no longer active
in Debian.
* Update to dh compat level 9
* Switch to dh.
* Various cleanups
* Switch upstream build system to automake
* Multiarchify
* Add TEMP and TEMPDIR to the list of environment variables we check.
Closes: #652607
* Make this a native package to get around various dpkg silliness.
* Drop debian/dirs, it is no longer needed.
2009-08-08 - Tollef Fog Heen <>
pam-tmpdir (0.08-1) unstable; urgency=low
* New upstream version with Steve's changes.
* Clean out some junk in debian/rules (mostly comments)
* Integrate with new libpam-runtime, thanks to Sam Morris for patch.
(Closes: #521576)
* Refer explicitly to GPLv2 in copyright file.
* Update to debhelper v7 (no changes but debian/compat needed)
* Update to policy version 3.8.2, no changes needed.
2008-04-01 - Steve Kemp <>
pam-tmpdir (0.07-3) unstable; urgency=medium
* Avoid failure to build from source by updating the 'extraclean' rule.
(Closes: #471215)
2008-03-14 - Steve Kemp <>
pam-tmpdir (0.07-2) unstable; urgency=low
* Avoid crashing on malformed configuration file.
(Closes: #431371)
* Update the configuration file to match documentation.
- /etc/security/tmpdir.conf is used not /etc/pam-tmpdir.conf.
(Closes: #379832)
* Misc:
- Updated standards version to 3.7.3:
- Updated compatibility level to 4.
- Don't ignore error in 'make clean'
- Updated copyright file to be explicit, and pass lintian test.
- Added lintian override for the setuid helper binary.
- Added myself as an uploader.
2006-07-17 - Tollef Fog Heen <>
pam-tmpdir (0.07-1) unstable; urgency=low
* New upstream release
- Links with PAM (closes: #373634)
- Mentions tmpdir.conf in README (closes: #338912)
- Sets and restores SIGCHLD handles when calling helper
(closes: #355205)
- Don't freak out if the configuration file is in an unsafe place,
just use the default path then.  (Closes: #340415)
2006-03-07 - Tollef Fog Heen <>
pam-tmpdir (0.06-1) unstable; urgency=low
* New upstream release
- Fix minor typo in which caused the package to fail to
build from source.  Also rename to  Closes #355145
2003-12-26 - Tollef Fog Heen <>
pam-tmpdir (0.05-2) unstable; urgency=low
* Use exit 1 instead of exit 0 in x{malloc,realloc}. Thanks to Ethan
Benson for spotting this.
* Change default configuration file to /etc/security/tmpdir.conf, again
thanks to Ethan Benson for spotting this.
2003-12-23 - Tollef Fog Heen <>
pam-tmpdir (0.05-1) unstable; urgency=low
* New upstream version
- SYSUSRTMP is now configurable (closes: #204571)
2003-01-05 - Tollef Fog Heen <>
pam-tmpdir (0.04-3) unstable; urgency=low
* Mkdir then lstat, not the other way around. (closes: #202661)
2002-06-30 - Tollef Fog Heen <>
pam-tmpdir (0.04-2) unstable; urgency=low
* redo the make_tmp_directory function, in order to work with both the
new, broken ssh without breaking stuff like login. (closes: #151107)

See Also

Package Description
libpam-unix2_2.4.1-6_amd64.deb Blowfish-capable PAM module
libpam-usb_0.5.0-4_amd64.deb PAM module for authentication with removable USB block devices
libpam-winbind_3.6.6-6+deb7u7_amd64.deb Windows domain authentication integration plugin
libpam-yubico_2.12-1_amd64.deb two-factor password and YubiKey OTP PAM module
libpam0g-dev_1.1.3-7.1_amd64.deb Development files for PAM
libpam0g_1.1.3-7.1_amd64.deb Pluggable Authentication Modules library
libpam4j-java-doc_1.4-2_all.deb Documentation for Java binding for
libpam4j-java_1.4-2_all.deb Java binding for
libpanel-applet-4-0_3.4.2.1-4_amd64.deb library for GNOME Panel applets
libpanel-applet-4-dev_3.4.2.1-4_amd64.deb library for GNOME Panel applets - development files
libpanel-applet-4-doc_3.4.2.1-4_all.deb library for GNOME Panel applets - documentation files
libpango-perl_1.222-1+b1_amd64.deb Perl module to layout and render international text
libpango1-ruby1.8_1.1.3-2_all.deb Transitional package for ruby-pango
libpango1-ruby_1.1.3-2_all.deb Transitional package for ruby-pango
libpango1.0-0_1.30.0-1_amd64.deb Layout and rendering of internationalized text