pmvarrun(8)
πΈ Name πΈ
okay bestie, this is pmvarrun(8) from the pam_mount manual π«Άβ¨. The whole vibe? pmvarrun updates /var/run/pam_mount/user. Periodt π
.
β¨ Syntax β¨
pmvarrun -u user [options]
π¦ Description π¦
So here's the tea: a separate program is needed so that /var/run/pam_mount/user may be created with a pam_mount-specific security context β otherwise SELinux policy will conflict with gdm, which also creates file in /var/run π. Like, that's the whole reason this little icon exists.
pmvarrun is flexible and can run in a number of different security setups:
π root-root
When pmvarrun is invoked as root, /var/run/pam_mount's permission settings can be as strict as needed; usually (0755,root,root) is a good pick, as it gives users the debug control over their refcount π₯. Refcount files are given their respective owners (chowned to the user who logs in).
πΈ user-user
When invoked as the user who logs in, /var/run/pam_mount needs appropriate permissions to create a file, which means the write bit must be set β
. It is also highly suggested to set the sticky bit in this case, so other users do not tamper with your refcount π.
π§ root-user
Some programs or login helpers incorrectly call the PAM stack in a way that the login phase is done as root and the logout phase as a normal user π΅βπ«. Nevertheless, pmvarrun supports this, and the same permissions as in root-root can be used. While the user may not be able to unlink his file from /var/run/pam_mount, it will be truncated to indicate the same state.
π Options π
--help,-hβ Display help.--user user,-u userβ User to handle, must be a valid username.--operation number,-o numberβ Increase volume count by number.-dβ Turn on debugging.
π Files π
/var/run/pam_mount/userβ the filepmvarrunupdates.
π Author π
This manpage was originally written by Bastian Kleineidam <calvin@debian.org> for the Debian distribution of libpam-mount but may be used by others π«Ά.
See /usr/share/doc/packages/pam_mount/AUTHORS for the list of original authors of pam_mount.
byeee bestie π β source/version: pam_mount; date: 2008-10-08; manual: pmvarrun(8). mwah ππ
π¦ where this page comes from
- alpine 3.24: pam_mount-doc 2.22-r2 Β· LGPL-2.1-or-later
- arch rolling: pam_mount 2.23-1 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: pam_mount 2.20-4.fc43 Β· LGPL-2.1-or-later AND GPL-2.0-or-later
- fedora 44: pam_mount 2.20-5.fc44 Β· LGPL-2.1-or-later AND GPL-2.0-or-later
- nixos 26.05: pam_mount 2.22
- nixpkgs unstable: pam_mount 2.22
- opensuse-leap 16.0: pam_mount 2.20-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pam_mount 2.20-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pam_mount 2.20-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pam_mount 2.20-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms