Under some circumstances HPLIP removes user from all groups
Bug #1112306 reported by
Daniel Pielmeier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned | ||
Gentoo Linux |
Fix Released
|
Medium
|
|||
Suse |
New
|
Undecided
|
Unassigned |
Bug Description
Under some circumstances hplip calls usermod without the "-a" flag which removes the user from all groups except the ones specified in the command. I will link to the corresponding Gentoo bug where more information about the issue and a potential cause for the problem can be found. Thanks for looking at this.
description: | updated |
Changed in gentoo: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in hplip: | |
status: | Fix Committed → Fix Released |
Changed in gentoo: | |
status: | New → Fix Released |
To post a comment you must log in.
hplip, under some circumstances that I can not pinpoint, may remove the user who runs it from all groups except his default group and lp.
Long story short: usb_printer 004:004` to setup my printer. I didn't know or expect at the time to be detected automatically.
Yesterday I wanted to print on a HP machine. I installed hplip, connected the printer, started hplip and run `hp-config_
During the setup process hplip asked for my root password only for me to find later, while trying to su, that I had been removed from all groups except lp.
I guess it ran `usermod -G lp` instead of `usermod -a -G lp`.
I try to reproduce this behavior so I can be more specific, alas I fail. I can't get hplip to ask for my root password again.
I am on a ~amd64 system. Sorry I can't provide more information.
Reproducible: Always