nixpkgs/nixos/modules/security
Peter Hoeg 22a500a3f8 pam_mount: do not re-prompt for password
nixos-rebuild test causes pam_mount to prompt for a password when running with
an encrypted home:

building '/nix/store/p6bflh7n5zy2dql8l45mix9qnzq65hbk-nixos-system-mildred-18.09.git.98592c5da79M.drv'...
activating the configuration...
setting up /etc...
reenter password for pam_mount:
(mount.c:68): Messages from underlying mount program:
(mount.c:72): crypt_activate_by_passphrase: File exists
(pam_mount.c:522): mount of /dev/mapper/vg0-lv_home_peter failed
kbuildsycoca5 running...

This change makes pam_mount not prompt. It still tries to remount (and fails in
the process) but that message can be ignored.

Fixes: #44586
2021-10-27 08:53:15 +08:00
..
apparmor apparmor: Fix cups-client typo 2021-08-23 00:50:15 -07:00
wrappers nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
acme.nix Merge pull request #139311 from NinjaTrappeur/nin-acme-fix-webroot 2021-10-25 20:27:29 +02:00
acme.xml docs: acme: Fix typo 2021-06-06 14:27:13 +02:00
apparmor.nix nixos/security/apparmor: utillinux -> util-linux 2021-05-17 17:14:08 +02:00
audit.nix
auditd.nix auditd service: make more useful 2019-06-10 18:55:11 +03:00
ca.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
chromium-suid-sandbox.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
dhparams.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
doas.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
duosec.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
google_oslogin.nix nixos/google-oslogin: add to system.nssDatabases.group too 2020-05-11 16:14:50 +02:00
lock-kernel-modules.nix nixos/lock-kernel-modules: reorder before/after 2021-09-19 12:06:00 +02:00
misc.nix nixos/apparmor: improve code readability 2021-04-23 07:20:19 +02:00
oath.nix
pam_mount.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
pam_usb.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
pam.nix pam_mount: do not re-prompt for password 2021-10-27 08:53:15 +08:00
polkit.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
rngd.nix nixos/rngd: Remove module entirely, leave an explaination 2021-02-21 01:32:50 +01:00
rtkit.nix nixos: define the primary group of users where needed 2021-09-12 14:59:30 +02:00
sudo.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
systemd-confinement.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
tpm2.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00