Language Selection

English French German Italian Portuguese Spanish

Consolehelper Quick HowTo

Filed under
HowTos

Maybe you have noticed how you are asked for root's password when you launch Synaptic, Yumex, or one of the Red Hat GUI system tools (system-config-*).

Maybe you have also noticed how (some releases of some) distros (Debian, Ubuntu) offer you either gnomesu (gnome-sudo), or gksudo (or gtksudo) as X front-ends to su, allowing you to run custom commands as root -- the most commmon use is to run Nautilus file manager as root.

Some other distros (Mandriva, Fedora) don't offer (anymore) any Gtk/GNOME su front-ends. Supposing you have installed KDE even if you're using another desktop environment, you may use kdesu instead.

But what if you don't have, or you don't want to use kdesu?

As it has been said, gnomesu/gksudo are not part of GNOME, nor officially supported by some distros because you can always use more advanced authentication methods, namely consolehelper, based on PAM (Pluggable Authentication Modules).

After a quick look at: man 8 consolehelper, man 8 userhelper, man 8 pam, and man 8 pam_console, and at the way other applications use PAM, I made my own way to add a "Root File Manager" icon in a distro that only has kdesu (which I will not use).

Full Story.

More in Tux Machines

LXQt 0.11.0 Desktop Environment Arrives After Almost One Year of Development

After being in development for the past eleven months, the next major release of the lightweight, Qt-based LXQt desktop environment has been officially released and it's available for download. Read more

Antivirus Live CD 20.0-0.99.2 Uses ClamAV 0.99.2 to Protect Your PC from Viruses

Today, September 25, 2016, 4MLinux developer Zbigniew Konojacki informs Softpedia about the immediate availability for download of a new, updated version of his popular, independent, free, and open source Antivirus Live CD. Read more

How to: Install Google Chrome web browser on Ubuntu Linux (and uninstall Firefox)

Ubuntu comes with a lot of quality software pre-installed. Unfortunately, the default web browser, Mozilla Firefox, has been on the decline -- it is slow and clunky. On Linux, Google Chrome is now the top web browser, and it is the best way to experience Adobe Flash content too (if you still need it). Installing Google Chrome on the Linux-based operating system is not totally straightforward. This is unfortunate, as the search-giant's web browser is an important part of having an overall quality experience on Ubuntu. Don't worry, however, as we will help you to both install the wonderful Google Chrome and uninstall the disappointing Mozilla Firefox. Read more

Parsix GNU/Linux 8.10 "Erik" Gets the Latest Debian Security Fixes, Update Now

A few minutes ago, the development team behind the Debian-based Parsix GNU/Linux computer operating system announced that new security fixes are now available for the Parsix GNU/Linux 8.10 "Erik" release. Read more