blob: 867e62f7b183498181a1fa31d783862459e68f49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
## Name
pls - Execute a command as root
## Synopsis
```**sh
$ pls [command]
```
## Description
Executes a command as superuser (UID and GID 0). This command is only available for users in the `wheel` group.
It is possible to execute commands that contain hyphenated options via the use of `--`, which signifies the
end of command options. For example:
```sh
$ pls -- ls -la
```
## Examples
```sh
$ pls whoami
Password:
root
$
```
```sh
$ pls sh
Password:
# whoami
root
#
```
|