mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
552 B
552 B
Name
pls - Execute a command as root
Synopsis
$ pls [command]
Description
Executes a command as the root user (uid and gid 0), given that the user executing pls
is located in
the sudoers file.
It is possible to execute commands that contain hyphenated options via the use of --
, which signifies the
end of command options. For example:
$ pls -- ls -la
Files
/etc/sudoers - List of users that can run pls
Examples
$ pls whoami
Password:
root
$
$ pls sh
Password:
# whoami
root
#