[19628] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: linux 9.0.14: athena-lprng

daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Thu Aug 16 10:53:54 2001

To: Shamik Das <shamikd@MIT.EDU>
Cc: bugs@MIT.EDU
From: amu@MIT.EDU (Aaron M. Ucko)
Date: 16 Aug 2001 10:49:25 -0400
In-Reply-To: <bugs:19618@unknown-discuss-server>
Message-ID: <udlitfo3vre.fsf@multics.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

<shamikd@MIT.EDU> (Shamik Das) writes:

>         lpd is running as daemon; /dev/lp* and /dev/parport* are group
>         lp. daemon is in group lp but for some reason that wasn't good
>         enough. changing the devices to group daemon (as in rh6.2)
>         "fixed" the problem (enabled printing). I don't understand why
>         the default group setup didn't work, though.

In Unix, each process has its own list of groups.  Login and such
normally initialize that list based on /etc/group; however, lpd simply
sets its own list to a single group -- in this case, daemon.  (I think
you could also have worked around the problem by putting "group=lp" in
/etc/lpd.conf.)

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)

home help back first fref pref prev next nref lref last post