hplip-gui bad root authentication method in debian

Bug #1660361 reported by Benoît FORQUIN
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

Sorry for my bad english, it's not my native language.

Superuser rights are needed for plugin installation for some printers. This mecanhism is in base/password.py.

Methods for authentication are predefined in a dictionary with Distro name as keys, and su or sudo as values.

If value is "su", username field is preset as "root" and read-only, and the window stand for root password.

But in Debian installer, you could skip root password definition and then installer install and set sudo in the same way as in Ubuntu.

In this case, lsb_release return "Debian" so, it's impossible to acquire superuser rights with hplip-gui and hp-plugins could not be installed.

In conclusion "su" is not always the authentication method in Debian unlike is set in base/password.py

Example in french-speaking forum https://debian-facile.org/viewtopic.php?id=16700

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.