mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-10 06:04:24 +00:00
16 lines
279 B
Markdown
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
|