mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-07 05:50:41 +07:00
comment
This commit is contained in:
parent
bb72c1278d
commit
7952139731
@ -3,6 +3,10 @@
|
||||
## Copyright (C) 2019 - 2020 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
## This is only a usability feature to avoid needlessly bumping pam_tally2
|
||||
## counter. This is not a security feature.
|
||||
## https://forums.whonix.org/t/restrict-root-access/7658/1
|
||||
|
||||
if ! passwd_output="$(passwd -S "$PAM_USER" 2>/dev/null)" ; then
|
||||
echo "$0: ERROR: user \"$PAM_USER\" does not exist." >&2
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user