xdg-su — run a GUI program as root after prompting for the root password
xdg-su
[-u
] user
-c
command
xdg-su
{ --help
| --manual
| --version
}
xdg-su provides a graphical dialog that prompts the user for a password
to run command
as user
or as root if no user was specified.
xdg-su is for use inside a desktop session only.
xdg-su discards any stdout and stderr output from
command
.
-u user
command
as
user
. The default is to run as root.
--help
--manual
--version