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

Containers: Resin.IO and Platform9

  • Resin.IO puts Linux and containers to work for IoT
    Resin.IO is working to make the use of containers and microservices useful tools to developers of Linux-based Internet of Things (IoT) applications. CEO Alexandros Marinos said the company has been working for three years to make mainstream containers attractive to developers of embedded workloads, such as those found in IoT applications. The company calls this the "Industrial Internet."
  • Platform9 Unveils Open Source Serverless Computing Framework
    Serverless computing is rapidly emerging as one of the favorite ways developers programmatically invoke cloud infrastructure. Instead of having to be aware of how their applications are consuming IT infrastructure, a serverless computing framework employs an event-driven architecture to make additional infrastructure resources available in real time as an application scales up and down. Today, Platform9 launched Fission, an open source implementation of a serverless computing framework based on the Kubernetes container orchestration engine originally developed by Google.

Wine 2.0

  • Wine Announcement
    The Wine team is proud to announce that the stable release Wine 2.0 is now available.
  • Wine 2.0 is now officially available
    I just got the announce email from the Wine team that Wine 2.0 is now officially available. It's an absolutely massive release! For those sticking with development builds, you obviously won't really see a difference, but for those sticking to stable releases it's huge.
  • Wine 2.0 Makes Its Debut
    Wine 2.0 is now officially available. Wine 2.0 is the first release from WineHQ under their new time-based (annual) release cadence, following the Wine 1.9 development series. Wine 2.0 has many new features including GStreamer 1.0 support, Direct3D 9/11 improvements, X11 improvements, Direct2D enhancements, better support for many different Windows games, support for Microsoft Office 2013, and thousands of other changes in total.
  • Wine 2.0 Released, Supports Microsoft Office 2013
    A brand new stable release of Wine, the Windows compatibility programme, is now available to download. Wine 2.0 — yes, 2.0 — follows more than a year of development effort and marks the start of a new timed-based release cadence.

BlankOn Linux explained

Hi guys, welcome to the 15th segment of "Introduction with Linux Distro". We have made quite a few introductions from the start of this website, every segment has something unique to itself. So this time we will be having a Linux distribution which have pure philosophy and creativity, as our guest. Let's get to know more about BlankOn Linux. Read more

today's leftovers