Files
oam/knowledge base/pkexec.md
2022-04-27 23:58:52 +02:00

16 lines
282 B
Markdown

# Pkexec
Allows an _authorized_ user to execute a command as another user. If a username is not specified, the command will be executed as `root`.
## TL;DR
```shell
pkexec systemctl hibernate
```
## Further readings
- [Man page]
[man page]: https://linux.die.net/man/1/pkexec