🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1523
From: Bernhard Nocker
Date: Thu, 15 Oct 1992 21:15
72 lines
3030 bytes
In article <1992Oct8.180825.11992@menudo.uh.edu> sears@tree.egr.uh.edu  
(Paul S. Sears) writes:
> 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."


Should be 
rg  str  NULL  restricted group. Only members of group allowed access

--
Bernhard Nocker                          Beware root :-)
University of Salzburg's Department of Computing Studies
Jakob-Haringerstr. 5	5020 Salzburg    Austria, Europe
+43-662-8044/6750		  bnocker@cosy.sbg.ac.at
Technical Details
Message-ID: <Bw6Lps.Euv@cosy.sbg.ac.at>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!cosy.sbg.ac.at!news
References: <1992Oct8.180825.11992@menudo.uh.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!cosy.sbg.ac.at!news
From: bnocker@cosy.sbg.ac.at (Bernhard Nocker)
Subject: Re: Limiting printers/faxes to specific users (ARRRGGGG)
Message-ID: <Bw6Lps.Euv@cosy.sbg.ac.at>
Sender: news@cosy.sbg.ac.at
Nntp-Posting-Host: puma
Organization: University of Salzburg / Austria
References: <1992Oct8.180825.11992@menudo.uh.edu>
Date: Thu, 15 Oct 1992 21:15:27 GMT
Lines: 72