diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-11-12 17:26:18 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-11-29 15:40:53 +0000 |
commit | ea53ebbd05ea695bca0130a882f89ea831284c36 (patch) | |
tree | 683768bfc187206ba3d67cf85f90634583eec7d1 /modules/pam_unix/support.c | |
parent | f2fef8e3a84507ae15e40ac9b37256a4f7484500 (diff) | |
download | pam-ea53ebbd05ea695bca0130a882f89ea831284c36.tar.gz pam-ea53ebbd05ea695bca0130a882f89ea831284c36.tar.bz2 pam-ea53ebbd05ea695bca0130a882f89ea831284c36.zip |
pam_mkhomedir: set home directory mode only once
If HOME_MODE of login.conf is more restrictive than the default
directory mode with umask, a short time window exists in which the home
directory has a less restrictive mode than requested (between
create_homedir and prelude of create_homedir_helper).
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_unix/support.c')
0 files changed, 0 insertions, 0 deletions