> From [EMAIL PROTECTED] Mon Dec  3 11:18:23 2001
> Date: Sat, 1 Dec 2001 19:43:22 -0000
> To: <[EMAIL PROTECTED]>
> Subject: Re: LPRng: lpinfo permissions trouble
> From: "Kyle Silfer" <[EMAIL PROTECTED]>
>
> Patrick Powell <[EMAIL PROTECTED]> said:
>
> > > From [EMAIL PROTECTED] Thu Nov 29 17:58:20 2001
> > > Date: Fri, 30 Nov 2001 00:48:55 -0000
> > > To: <[EMAIL PROTECTED]>
> > > Subject: LPRng: lpinfo permissions trouble
> > > From: "Kyle Silfer" <[EMAIL PROTECTED]>
> > >
> > > I have LPRng installed and working properly (for the most part).
> > >
> > > However, I can't get lpinfo to delete print jobs from my test
> > > queue. Everything works fine from the local command line.
> > 
> > Did you try 'lprm' to remove jobs?
>
> Like I said, everything works fine from the command line, but
> that's the command line of the local host. The problem arises when
> I use the lpinfo web interface to attempt to delete something from
> the queue. It complains that I am from a different machine. I want
> to know how to tell lprinfo/LPRng not to care about that.

You will need to add an entry to the lpd.perms file on the
server:

ACCEPT SERVICE=C SERVER REMOTEUSER=root,papowell
ACCEPT SERVICE=C LPC=lpd,status,printcap

ACCEPT SERVICE=M REMOTEHOST=10.0.0.5 REMOTEUSER=root

REJECT SERVICE=C
ACCEPT SERVICE=M SAMEHOST SAMEUSER
ACCEPT SERVICE=M SERVER REMOTEUSER=root
REJECT SERVICE=M
DEFAULT ACCEPT

*********** IF YOU DO NOT USE RELIABLE AUTHENTICATION THEN
*********** THIS CAN BE VERY UNSAVE

See the LPRng HOWTO for details.

>
> Are you saying I should run lprm from the command line of a remote host for testing 
>purposes? How do you do that? 

log onto the system and then do:

lprm -Ppr@host jobid

>
> ./k
>
>
>
> -----------------------------------------------------------------------------
> 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.
-----------------------------------------------------------------------------

Reply via email to