Hi all, On Debian Live we have the followig setup:
The user "user" has full sudo access without any password: $ cat /etc/sudoers.d/live user ALL=(ALL) NOPASSWD: ALL The user "root" has no password: # cat /etc/shadow | grep root root:*:17941:0:99999:7::: Up to hplip version 3.18.10 in stretch-backports Debian Live users could just type "sudo hp-setup" in the terminal, the graphical installer starts and when there is a HP printer that needs an additional plug-in the following dialog is shown in the terminal: .............................................................................. ------------------------------------------ | PLUG-IN INSTALLATION FOR HPLIP 3.18.10 | ------------------------------------------ Option Description ---------- -------------------------------------------------- d Download plug-in from HP (recommended) p Specify a path to the plug-in (advanced) q Quit hp-plugin (skip installation) Enter option (d=download*, p=specify path, q=quit) ? .............................................................................. Then the user just presses Enter and the plug-in gets downloaded and installed. Everything works great. Now with the latest hplip version in backports (3.18.12+dfsg0-2~bpo9+1) the installation of the plug-in fails after accepting the license: .............................................................................. Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y Done. Done. error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation. .............................................................................. When I run the command hp-plugin as a normal user I get a graphical dialog (translation to ASCII by me): ---------------------------------------------------------- | HP Device Mangager - Enter Username/Password | ------------------------------------------------------------ | Your HP Device requires to install HP proprietary plugin | | Please enter root/superuser password to continue. | | -------------------------- | | Username: |root | | | -------------------------- | | -------------------------- | | Password: | | | | -------------------------- | | ---------------- | | | OK || | ---------------- | ------------------------------------------------------------ The Username inputfield (already filled with the value "root") is not editable. If I keep the password field empty (remember, root has no password in Debian Live) I get the error message: ................................................................ error: Password incorrect. 2 attempt(s) left. ................................................................ After two more attempts the installation expectedly fails with the following output: ................................................................ error: Password incorrect. 1 attempt(s) left. error: Password incorrect. Plugin installation failed error: Python gobject/dbus may be not installed error: Plug-in install failed. ................................................................ Only if I run "sudo hp-plugin" on the command line I can finally install the necessary plugin. This all is quite a severe regression. Instead of a simple linear workflow when installing an HP printer on Debian Live it means now: 1) start hp-setup 2) run into a plugin installation error (bad!) 3) run hp-plugin as recommended as a normal user and fail again (very bad!) 4) search the Internet, find this bug report and run "sudo hp-plugin" as a workaround (should not be necessary) To sum it up: Would it be possible to restore the old behavior (until v3.18.10) in hplip where installing an HP printer on Debian Live was more or less straightforward?Our users are mostly primary school students and teachers. They need to be able to setup HP printers without a masters degree in computer science... Thanks and best regards Ronny -- ------------------------------------------------------------------------ Universität Bern Institut für Informatik Forschungsstelle Digitale Nachhaltigkeit Dr. Ronny Standtke Bereichsleiter Lernstick Schützenmattstrasse 14 CH-3012 Bern ------------------------------------------------------------------------ Mobile +41 79 786 81 82 ronny.stand...@iwi.unibe.ch <mailto:ronny.stand...@iwi.unibe.ch> http://www.digitale-nachhaltigkeit.unibe.ch