physlock: add page (#4682)

beep
Hannu Hartikainen 2020-10-14 22:24:47 +00:00 committed by GitHub
parent dd955ca693
commit 2bf0eb0ed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/linux/physlock.md Normal file
View File

@ -0,0 +1,24 @@
# physlock
> Lock all consoles and virtual terminals.
> More information: <http://github.com/muennich/physlock>.
- 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`