Add scripts that query/enable password protection on console

This commit is contained in:
Babak Farrokhi 2020-02-05 09:20:21 +01:00
parent d9f73af41e
commit 60997e9a87
Signed by: farrokhi
GPG Key ID: 73586D509275D6DE
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
/usr/bin/grep ^console /etc/ttys

View File

@ -0,0 +1 @@
/usr/bin/sed -i ".bak" -E -e 's/unknown.+off.+secure/unknown off insecure/' /etc/ttys