🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.sysadmin
2 messages
2 total messages Started by Paul S. Sears Thu, 08 Oct 1992 15:53
Limiting printers/faxes to specific users
#1330
Author: Paul S. Sears
Date: Thu, 08 Oct 1992 15:53
20 lines
1584 bytes
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...
--
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."
Re: Limiting printers/faxes to specific users (ARRRGGGG)
#1337
Author: 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."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads