IT solutions, interesting technology news and a hint of Space and Physics.

Gnomesu – Running Applications as Root on Linux

Sometimes (just sometimes) a Linux Desktop user needs to run a program eg: Nautilus as the root user which you can easily do with the commandline $sudo nautilus. If you have the command line shell open why not do you file management throught it? Well it’s nice to have more options like a Desktop launcher (Shortcut) that will open an application as root and prompt for the root password (all as a GUI).

This can be achieved using gnomesu or kdesu, depending on the Desktop Manager. Installing is very easy, can be done via the CLI (Command Line Inteface) or usign your package manager by searching for libgnomesu0 and libgnomesu-common (for Gnome users), the kdesu comes installed as part of the base installation of KDE.

The CLI installation route on GnomeDebian based distros (eg.: Ubuntu)

$ sudo apt-get install libgnomesu0 libgnomesu-common

Suse Linux

$ sudo zypper in libgnomesu0 libgnomesu-common

Note that on Ubuntu you have to activate the root user account and give it a password: