mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
comment
This commit is contained in:
parent
14aa6c5077
commit
532a1525c2
@ -3,6 +3,7 @@
|
||||
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
## https://forums.whonix.org/t/etc-security-hardening-console-lockdown/8592
|
||||
if grep -q "accessfile=/etc/security/access-security-misc.conf" /etc/pam.d/common-account ; then
|
||||
if id --name --groups --zero "$PAM_USER" | grep --quiet --null-data --line-regexp --fixed-strings "console"; then
|
||||
console_allowed=true
|
||||
|
Loading…
Reference in New Issue
Block a user