Comment 7 for bug 530746

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) wrote :

Some distributions has both lpadmin and lp group Ex. Debian and ubuntu
Some distributions has only lp group Ex. Fedora, RHEL and Suse.

if distribution supports lpadmin then user should be part of lpadmin, otherwise user should be part of "lp" group.
script may read /etc/group file to check for lpadmin and lp group availability.
then check weather is part of required group.

this bug should reflect both in prnt/cups.py (for device manager) and check.py (hp-check) files.

Please let me know if any thing wrong in my understanding.

Thanks!
Naga Samrat Chowdary, Narla