Package: hplip
Version: 3.18.12+dfsg0-2
Severity: minor

Dear Maintainer,

By default, the script asking for root priviledge in hplip 
("/usr/share/hplip/base/password.py")
asks for root privilege only. Most debian user use "sudo" and this behaviour is 
as easy to fix :
sed -ri "s|^( +'debian': ')su(',)|\1sudo\2|" "/usr/share/hplip/base/password.py"

If you don't do that, people who did not set up a root password (ie. installing 
though calamares
or via a preseed jumping this step) will get stuck.

I recognize it's not a proper fix, one should check if sudo binary exist and 
just use it or use su
instead... If I did know a tiny bit of python I'd attach a patch :(

The bug I'm talking about is already repported upstream there 3 YEARS AGO 
<https://bugs.launchpad.net/hplip/+bug/1660361>

Reply via email to