1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages/linux/physlock.md
2020-10-14 23:24:47 +01:00

24 lines
474 B
Markdown

# 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`