Add pop to AUTH_TYPES in password.py
Bug #1996635 reported by
Gary Perkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
While troubleshooting my HP scanner, I was getting the error message "Error during device I/O (code=9)". When I ran the plugin download and install utility, I got the message "warning: pop distro is not found in AUTH_TYPES".
AUTH_TYPES is located in /usr/share/
Pop! OS uses sudo authentication.
The fix is to add the line 'pop': 'sudo' to AUTH_TYPES.
To post a comment you must log in.
I created a fresh Pop! OS installation in a virtual machine and verified that without the fix, hp-plugin tries to use su to authenticate as the root user (which for most users has no password), and the installation fails. Applying the fix, hp-plugin properly uses sudo and the installation is successful.