]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
pam_fscrypt: make "lock_policies" the default behavior
authorEric Biggers <ebiggers@google.com>
Mon, 8 Mar 2021 23:20:08 +0000 (15:20 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 8 Mar 2021 23:20:08 +0000 (15:20 -0800)
commitb7e898f01bcae17174fcd928599d0d933655db9b
treea53f09298957ead959a360cb1af0ba9460e8ce9e
parent28e4999ebd9221a71488d715d9f1182b494216d8
pam_fscrypt: make "lock_policies" the default behavior

All pam_fscrypt configuration guides that I'm aware of say to use the
"lock_policies" option for the pam_fscrypt.so session hook.  The
Debian/Ubuntu pam-config-framework config file has it too.

Make locking the default behavior, since this is what everyone wants.

Existing configuration files that contain the "lock_policies" option
will continue to work, but that option won't do anything anymore.

(We could add an option "unlock_only" to restore the old default
behavior, but it's not clear that it would be useful.  So for
simplicity, leave it out for now.)
README.md
pam_fscrypt/config
pam_fscrypt/pam_fscrypt.go