[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#825383: /usr/share/hplip/doctor.py: hp-doctor will not accept sudo password and there is no root account



On Thu 26 May 2016 at 10:37:58 -0400, Mike wrote:

> Package: hplip-data
> Version: 3.14.6-1
> Severity: important
> File: /usr/share/hplip/doctor.py
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
> I tried to install an HP Printer for use on Debian.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> I ran 'hp-doctor' from the command line. hp-doctor asks for a "root
> password" to complete its task. But debian was installed with Sudo
> rights and a root account was never created (i.e., there technically
> is no root password). hp-doctor will not accept the Sudo password and
> keeps asking for a root password.
> 
>    * What was the outcome of this action?
> It is impossible to run hp-doctor and therefore is impossible to
> install a printer without technical know-how.
> 
>    * What outcome did you expect instead?
> I expected hp-doctor to run successfully with the Sudo password (as
> every other program on the computer does).

This issue is one for hplip's developers, not for Debian's maintainers.
As an interim solution open /usr/share/hplip/password.py in an editor.
Look for "AUTH_TYPES" and change

  'debian':'su'

to

  'debian':'sudo'

I'll probably push this upstream later today or tomorrow.

Regards,

Brian.


Reply to: