Hi again, So, I run d3 in debugging mode - there is no error/failure on /etc/lpd/ok.
Could it be problem, that checkpc -f makes spooling directories with mode 700. == drwx------ 2 daemon daemon 512 Mar 18 14:18 d3 == >From Unix point of view there is no way for anyone other than daemon/root to manipulate files in d3 directory... best 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] -- On Mon, 15 Mar 2004, Patrick Powell wrote: > > On Fri, 12 Mar 2004, Patrick Powell wrote: > > My changes don't work - users listed in /etc/lpd/ok file cannot remove > > jobs from the server > > > > > 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 > > > > ==== > > OK, try the following: > > d3:db=lprm+2,database+2:... # enable LPRM debugging > > Now do: > > lpc reread > lpc -Pd3 stop > lpr -Pd3 > lprm -Pd3 > > Now look in /var/spool/lpd/d3/log > and look for lines with /etc/lpd/ok in them. Error or failure > should be clear from this. > > Patrick > > ----------------------------------------------------------------------------- > 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. > ----------------------------------------------------------------------------- > ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
