Contents
What to use instead of gksu?
Alternatives for gksu and gksudo.
How does sudo remember?
The filename is taken from your current terminal (or tty). That means sudo remembers your authentication on a per terminal basis. If you switch to another terminal, sudo will not remember that you just used sudo on the previous terminal. Note that this sudo did not ask for password.
Why was Gksudo removed?
The reason gksu stopped being installed by default is that the developers think polkit is a better way to control privileges. So they have been gradually migrating applications to use that instead.
What was the purpose of gksu in Ubuntu?
gksu was the program that provided a GTK frontend for su and sudo. This way graphical applications were allowed to be run with root privileges. As an end user, you might have used gksu to run Gedit editor for modifying some system files that required root privileges.
Which is better pkexec or gksudo for root?
In general the development team would prefer us not to use GUI applications as root but to use sudo and the command line instead. In the long term pkexec is preferred however it’s not very easy to use at the moment. pkexec allows an authorized user to execute PROGRAM as another user.
Is the gksu backend removed from Ubuntu 18.04?
Brief: gksu is deprecated. It is removed from Debian, Ubuntu 18.04 and other newer Linux distribution version. You can achieve the gksu functionality with gvfs admin backend.
What to do if gksudo is not set?
If none of SUDO_EDITOR, VISUAL or EDITOR are set, the first program listed in the editor sudoers (5) option is used. 3. If they have been modified, the temporary files are copied back to their original location and the temporary ver- sions are removed.