mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
26 lines
423 B
Markdown
26 lines
423 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`.
|
|
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [TL;DR](#tldr)
|
|
1. [Further readings](#further-readings)
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
pkexec systemctl hibernate
|
|
```
|
|
|
|
## Further readings
|
|
|
|
- [Man page]
|
|
|
|
<!--
|
|
References
|
|
-->
|
|
|
|
<!-- Others -->
|
|
[man page]: https://linux.die.net/man/1/pkexec
|