🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1337

Re: Limiting printers/faxes to specific users (ARRRGGGG)

#1337
From: Paul S. Sears
Date: Thu, 08 Oct 1992 18:08
47 lines
2568 bytes
In article <1992Oct8.155329.29458@menudo.uh.edu> sears@tree.egr.uh.edu (Paul  
S. Sears) writes:
=>
=>What exactly is the _writers property for under the printer/fax entry in  
=>Netinfo??
=>
=>I was wondering if I could use this property to only allow specific users to  
=>print to this printer.  Or is this just to allow modifications to the  
=>printers/fax modems themselves.  If this is the case, does anyone know of a  
=>way to only allow specific users to use a printer?  Is there anyway to limit  
=>who can _send_ faxes since using the printmanager it is easy to limit who  
can  
=>receive them but it seems (by looking at the logs) that anyone can send? 
=>
=>I cannot simply limit which machines see the printer because this printer  
will  
=>be located in a lab setting and thus, it is currently accessable to  
anyone...

Ok. that was my original query.  I have done some investigating in printcap  
and I found this really useful capacility that was listed in the man page:

rm	str	NULL		restricted group.  Only members of group  
allowed access

I thought hey, this is PERFECT... so what's the catch??

Well, it works fine if you try to print via the command line:

oak> lpr -PN396_D_EE_Lab testfile.txt
lpr: Not a member of the restricted group


So it works fine using lpr, what's the problem?  The problem is that printing  
via the printpanel of any NeXTSTEP application seems to ignore this restricted  
group option (rg) in a printcap entry... ARRRRGGGGHH!!!!

Any other ideas?  Or is there anyway to kick npd in the head and tell it to  
obey what is listed in the printcap entry??

--
Paul S. Sears                *  sears@uh.edu (NeXT Mail OK)
The University of Houston    *  suggestions@tree.egr.uh.edu (NeXT
Engineering Computing Center *  comments, complaints, questions)
NeXT System Administration   *  DoD#1967 '83 NightHawk 650SC 
          >>> SSI Diving Certification #755020059 <<<
"Programming is like sex: One mistake and you support it a lifetime."
Technical Details
Message-ID: <1992Oct8.180825.11992@menudo.uh.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!zaphod.mps.ohio-state.edu!menudo.uh.edu!usenet
References: <1992Oct8.155329.29458@menudo.uh.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!zaphod.mps.ohio-state.edu!menudo.uh.edu!usenet
From: sears@tree.egr.uh.edu (Paul S. Sears)
Subject: Re: Limiting printers/faxes to specific users (ARRRGGGG)
Message-ID: <1992Oct8.180825.11992@menudo.uh.edu>
Sender: usenet@menudo.uh.edu (USENET News System)
Nntp-Posting-Host: thanatos.egr.uh.edu
Reply-To: sears@tree.egr.uh.edu
Organization: University of Houston
References: <1992Oct8.155329.29458@menudo.uh.edu>
Date: Thu, 8 Oct 1992 18:08:25 GMT
Lines: 47