Hi,

On Tue, 2003-12-02 at 17:04, David Bear wrote:
> I would like to have a queue administrator that is not root.  I
> noticed that lpd runs a su 'daemon' and that /var/spool/lpd/.. is
> owned by daemon and group daemon.  Yet the perms set on /var/spool/lpd
> are 700.  If I set perms to 770 and then put a user in the daemon
> group would that enable that person to be a 'printer admin', ie use
> lpc to hold, flush, release queues?

Basically, no. It would only allow them to delete and read spool files
and logs directly. Logs can usually seen with lpq -v and deleting spool
files, unless something has crashed, is generally a bad idea.

Look at the /etc/lpd.perms file for user access permissions.
Something like:

ACCEPT SERVICE=C SERVER REMOTEUSER=<your user>

should do the trick. A queue administrator can then use lpc to control
the queues. 

Cheers,

sam



-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to