mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 19:19:44 +01:00
physlock: add page (#4682)
This commit is contained in:
parent
dd955ca693
commit
2bf0eb0ed0
1 changed files with 24 additions and 0 deletions
24
pages/linux/physlock.md
Normal file
24
pages/linux/physlock.md
Normal 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`
|
Loading…
Reference in a new issue