mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 22:29:40 -05:00
fix, allow group sudo
and console
to use consoles
fix /etc/security/access-security-misc.conf syntax error Thanks to @81a989 for the bug report! https://forums.whonix.org/t/etc-security-hardening-console-lockdown-pam-access-access-conf/8592/31
This commit is contained in:
parent
b09f5ddc15
commit
7e267ab498
@ -27,12 +27,12 @@
|
||||
## serial console
|
||||
## https://forums.whonix.org/t/how-do-i-enter-the-whonix-shell-from-cli/7271/43
|
||||
## - 'ttyS0' to 'ttyS9'
|
||||
+:console:console tty1 tty2 tty3 tty4 tty5 tty6 tty7 pts/0 pts/1 pts/2 pts/3 pts/4 pts/5 pts/6 pts/7 pts/8 pts/9 hvc0 hvc1 hvc2 hvc3 hvc4 hvc5 hvc6 hvc7 hvc8 hvc9 ttyS0 ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 ttyS7 ttyS8 ttyS9
|
||||
+:(console):console tty1 tty2 tty3 tty4 tty5 tty6 tty7 pts/0 pts/1 pts/2 pts/3 pts/4 pts/5 pts/6 pts/7 pts/8 pts/9 hvc0 hvc1 hvc2 hvc3 hvc4 hvc5 hvc6 hvc7 hvc8 hvc9 ttyS0 ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 ttyS7 ttyS8 ttyS9
|
||||
|
||||
## Same as above also for members of group `sudo`.
|
||||
## https://github.com/Whonix/security-misc/pull/74#issuecomment-607748407
|
||||
+:sudo:console tty1 tty2 tty3 tty4 tty5 tty6 tty7 pts/0 pts/1 pts/2 pts/3 pts/4 pts/5 pts/6 pts/7 pts/8 pts/9 hvc0 hvc1 hvc2 hvc3 hvc4 hvc5 hvc6 hvc7 hvc8 hvc9 ttyS0 ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 ttyS7 ttyS8 ttyS9
|
||||
+:(sudo):console tty1 tty2 tty3 tty4 tty5 tty6 tty7 pts/0 pts/1 pts/2 pts/3 pts/4 pts/5 pts/6 pts/7 pts/8 pts/9 hvc0 hvc1 hvc2 hvc3 hvc4 hvc5 hvc6 hvc7 hvc8 hvc9 ttyS0 ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 ttyS7 ttyS8 ttyS9
|
||||
|
||||
## Everyone else except members of group 'console-unrestricted'
|
||||
## are restricted from everything else.
|
||||
-:ALL EXCEPT console-unrestricted :ALL
|
||||
-:ALL EXCEPT (console-unrestricted):ALL
|
||||
|
Loading…
Reference in New Issue
Block a user