gksudo
Frontend for sudo. tldr-pages
On Linux
Linux
Frontend for sudo. Run graphical commands which need root access without having to run an X terminal emulator. Note: This command is deprecated and no longer maintained, use pkexec instead.
Run a command as a specific user
gksudo --user userid commandIdentifyRun the command while preserving the current environments
gksudo --user userid --preserve-env commandIdentifyForce gksudo to use su to run the command
gksu --user userid --su-mode commandIdentifyForce gksudo to use sudo to run the command
gksudo --user userid --sudo-mode commandIdentifyOutput debug info for the given command
gksudo --user userid --debug commandIdentify