> From [EMAIL PROTECTED] Mon Apr 15 11:15:28 2002
> Date: Mon, 15 Apr 2002 11:28:52 -0600 (MDT)
> From: Gabriel L Somlo <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: Please Help: -U works with lpr, but not with lprm
>
>
> Patrick,
>
> It looks like placing 'allow_user_setting=nobody' in /etc/lpd.conf
> works, but only having it in /etc/printcap does not.
>
> I don't know if this is a bug, or if I just made a mistake in the
> printcap file. Let me know which one it was when you get a chance.
>
> Thanks again for your help,
>
> Gabriel
>
Ahhh!!! I see. This is because the LPR/LPC/LPQ/LPRM programs
first decide if the user has permissions to do this, and THEN
reads the printcap file. So the permission has to be found in
/etc/lpd.conf.
I puzzled over this a bit, until I remembered that since users are
allowed to set options like this in their 'user printcap' file
(${HOME}/.printcap) then allowing this to be done in the printcap
entry would be a security loophole.
At least by putting it in /etc/lpd.conf there is the possibility
that the Sysadmin can prevent this.
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
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.
-----------------------------------------------------------------------------