mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 17:04:50 -04:00
output
This commit is contained in:
parent
8636d2f629
commit
dc1dfc8c20
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
## 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 grep -q "accessfile=/etc/security/access-security-misc.conf" /etc/pam.d/common-account 2>/dev/null; then
|
||||
if id --name --groups --zero "$PAM_USER" | grep --quiet --null-data --line-regexp --fixed-strings "console"; then
|
||||
console_allowed=true
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue