From 2bf0eb0ed049399946ca14a7f87b5124907aad06 Mon Sep 17 00:00:00 2001 From: Hannu Hartikainen Date: Wed, 14 Oct 2020 22:24:47 +0000 Subject: [PATCH] physlock: add page (#4682) --- pages/linux/physlock.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/physlock.md diff --git a/pages/linux/physlock.md b/pages/linux/physlock.md new file mode 100644 index 000000000..781f249fd --- /dev/null +++ b/pages/linux/physlock.md @@ -0,0 +1,24 @@ +# physlock + +> Lock all consoles and virtual terminals. +> More information: . + +- Lock every console (require current user or root to unlock): + +`physlock` + +- Mute kernel messages on console while locked: + +`physlock -m` + +- Disable SysRq mechanism while locked: + +`physlock -s` + +- Display a message before the password prompt: + +`physlock -p "{{Locked!}}"` + +- Fork and detach physlock (useful for suspend or hibernate scripts): + +`physlock -d`