On Fri, Mar 12, 2004 at 02:21:24PM +0100, Longina Przybyszewska wrote:
> hi,
> can anyone tell me why the following setting in lpd.perms doesn't work?
> It is LPRng-3.8.21.
> The server controls 2 printers, for one of them I would like to allow
> other persons than root to remove jobs fra queue.
> My changes don't work (the rest  is default). WHat is wrong?
> ====
> 
> # allow same user on originating host to remove a job
> ACCEPT SERVICE=M SAMEHOST SAMEUSER
> # allow root (and persons listed in /etc/lpd/ok)on server to remove jobs
> #       from printer d3
> ACCEPT SERVICE=M SERVER PRINTER=d3 REMOTEUSER=root,</etc/lpd/ok
> 
> ACCEPT SERVICE=M SERVER REMOTEUSER=root
> REJECT SERVICE=M
> # all other operations allowed
> DEFAULT ACCEPT
> ====
> 
> thanks in advance!
> Longina
> 
> 
> --
> Longina Przybyszewska, system programmer
> Dept. of Math. & Comp. Sci. - IMADA
> University of Southern Denmark, Odense
> Campusvej 55,DK-5230 Odense M, Denmark
> 
> tel: +45 6550 2359 - http://www.imada.sdu.dk         email: [EMAIL PROTECTED]
> --

When you say 'does not work' do you mean that users CAN remove jobs
or users CANNOT remove jobs.

Note:  I recommend using:

 # all other operations allowed
 DEFAULT REJECT

i.e. - deny any operation unless specifically allowed.

-- 
Patrick Powell                 Astart Technologies
[EMAIL PROTECTED]            6741 Convoy Court
Network and System             San Diego, CA 92111
  Consulting                   858-874-6543 FAX 858-751-2435
LPRng - Print Spooler (http://www.lprng.com)

-----------------------------------------------------------------------------
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