Comment 2 for bug 1112306

Revision history for this message
In , Opensource-andmarios (opensource-andmarios) wrote :

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:
Yesterday I wanted to print on a HP machine. I installed hplip, connected the printer, started hplip and run `hp-config_usb_printer 004:004` to setup my printer. I didn't know or expect at the time to be detected automatically.

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