Files
oam/knowledge base/pkexec.md
2022-05-15 00:24:53 +02:00

16 lines
279 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
```sh
pkexec systemctl hibernate
```
## Further readings
- [Man page]
[man page]: https://linux.die.net/man/1/pkexec