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

Devuan Beta, Stumbling Tumbleweed, Ubuntu Too

Today in Linux news Debian-fork Devuan is forging ahead with its plans to create a distribution offering init freedom by releasing a beta for testers. Douglas DeMaio posted today that openSUSE Tumbleweed snapshots have halted due to glibc upgrade rebuilds. Dedoimedo reviewed the BQ Aquaris M10 and liliputing.com posted of another Ubuntu laptop for sale. And finally, the Hectic Geek reviewed Ubuntu 16.04 and Neil Rickert reviewed Kubuntu 16.04. Read more Also: Devuan releases beta Devuan Jessie - beta release announcement

Devuan Jessie beta released

dear Init Freedom Lovers, once again the Veteran Unix Admins salute you. As promised two years ago with the first declaration of Exodus from Debian, today we can proudly state: we do not go gentle into that good night. Now has come the time to announce the Beta release of Devuan. Debian GNU+Linux is a fork of Debian without systemd, on its way to become much more than that. This Beta release marks an important milestone towards the sustainability and the continuation of Devuan as an universal base distribution. Read more Also: Beta Released Of Devuan, The Systemd-Free Version Of Debian

GNOME News

Today in Techrights