l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Sep 26 19:50

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] lp vs lpadmin groups?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] lp vs lpadmin groups?

My Kubuntu system parallel port defaulted to ownership and permissions:

   crw-rw----  1 root lp 6, 0 2005-09-11 09:29 /dev/lp0

which seemed reasonable.  I was experiencing problems getting CUPS
to print to this, though, and Googling obtained the unsatisfactory
advice to "chmod 0777 /dev/lp0". Looking further, I finally noticed that
CUPS runs its filters as lp.lpadmin, and user lp did not come as a member
of group lp (!).

I figure the "best" solution is to make user "lp" a member of group "lp",
but I am curious now...

1) what are the intended purposes of groups "lp" and "lpadmin"?
2) would it be better to chown root.lpadmin /dev/lp0 (well, in my
case I would edit /etc/udev/permissions.d/udev.permissions)?
3) if "lpadmin" is intended to support queue maintenance and "lp"
is intended only for printer daemons, how is printer access
supposed to be controlled for users who just want to print?
or, if group "lp" is for anyone who can print, then how to distinguish
between users and queue administrators?

I have to admit that CUPS seems much more userfriendly than lpr did.

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!