Bug#960593: marked as done (hplip: Requires login as root instead of as user)
Your message dated Sun, 11 Apr 2021 23:26:41 +0100
with message-id <11042021231830.8439682db5d7@desktop.copernicus.org.uk>
and subject line Re: Bug#960593: hplip: Requires login as root instead of as user
has caused the Debian Bug report #960593,
regarding hplip: Requires login as root instead of as user
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
960593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960593
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: hplip: Requires login as root instead of as user
- From: Otyugh <otyugh@riseup.net>
- Date: Thu, 14 May 2020 13:28:01 +0200
- Message-id: <158945568194.4963.11648598887660764696.reportbug@stretchator>
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>
--- End Message ---
--- Begin Message ---
- To: 960593-done@bugs.debian.org
- Cc: control@bugs.debian.org
- Subject: Re: Bug#960593: hplip: Requires login as root instead of as user
- From: Brian Potkin <claremont102@gmail.com>
- Date: Sun, 11 Apr 2021 23:26:41 +0100
- Message-id: <11042021231830.8439682db5d7@desktop.copernicus.org.uk>
- In-reply-to: <158945568194.4963.11648598887660764696.reportbug@stretchator>
- References: <158945568194.4963.11648598887660764696.reportbug@stretchator>
forwarded 960593 https://bugs.launchpad.net/hplip/+bug/1745834
reassign 825383 hplip
merge 825383 960593
thanks
On Thu 14 May 2020 at 13:28:01 +0200, Otyugh wrote:
> 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>
This looks distinctly similar to #825383. It is not a Debian bug and
upstream HPLIP have had at least 3 years to produce a solution. Hence
closing. Please feel free to get in touch with upstream.
Regards,
Brian.
--- End Message ---
Reply to: