lprng -- USER/REMOTEUSER GROUP/REMOTEGROUP options
I'm having trouble using the USER, REMOTEUSER, GROUP, and REMOTEGROUP
options in lprng 3.4.2-5. I want to only allow a certain user or group to
have access to the printer.
For example, if I use: (/etc/lpd.perms)
DEFAULT REJECT
ACCEPT SERVICE=X HOST=localhost IP=127.0.0.1/255.255.255.255
ACCEPT SERVICE=X 192.168.100.0/255.255.255.0
ACCEPT SERVICE=Q <------------------- lpq works for all users
ACCEPT SERVICE=Q USER=paul <--------- lpq doesn't work for any users
ACCEPT SERVICE=Q REMOTEUSER=paul <--- lpq doesn't work for any users
ACCEPT SERVICE=C <------------------- lpc works for all users
ACCEPT SERVICE=C USER=paul <--------- lpc only works for paul
ACCEPT SERVICE=C REMOTEUSER=paul <--- lpc only works for paul
Same results for GROUP and REMOTEGROUP. I executed lpq from the console,
logging in as paul. When I tested other users, I used root and lp.
Can anyone explain these odd results?
---
Paul Miller <paul@3dillusion.com>
Public PGP key at http://paul.3dillusion.com/pgpkey.txt
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: