gksu
Frontend for su. tldr-pages
On Linux
Linux
Frontend for su. 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
gksu --user userid commandIdentifyRun the command while preserving the current environments
gksu --user userid --preserve-env commandIdentifyForce gksu to use su to run the command
gksu --user userid --su-mode commandIdentifyForce gksu to use sudo to run the command
gksu --user userid --sudo-mode commandIdentifyOutput debug info for the given command
gksu --user userid --debug commandIdentify