aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/unix_chkpwd.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2023-11-12 17:26:18 +0100
committerDmitry V. Levin <ldv@strace.io>2023-11-29 15:40:53 +0000
commitea53ebbd05ea695bca0130a882f89ea831284c36 (patch)
tree683768bfc187206ba3d67cf85f90634583eec7d1 /modules/pam_unix/unix_chkpwd.c
parentf2fef8e3a84507ae15e40ac9b37256a4f7484500 (diff)
downloadpam-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/unix_chkpwd.c')
0 files changed, 0 insertions, 0 deletions