🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2317

Using AUTHORIZE to restrict posting

#2317
From: Mathew BM LIM
Date: Thu, 09 Jan 1992 05:21
24 lines
1768 bytes
Hi,
	I have just installed nn6.4.16 on a SYSV4 machine. I am not using
the NNTP options as I just want to use news to organise our system messages,
announcements, etc. to our users. 

	What we want to do is use the AUTHORIZE options to restrict
users' ability to post articles. I compiled in the AUTHORIZE and ACCOUNTING
flags and made 

#define DEFAULT_POLICY  ALL_HOURS + NO_POST	/* all time but no posting */

in account.c. This works fine when someone tries to post using nnpost, but
the :post command from within nn itself does not check nnacct before
posting. Now, I could hack nn to put the check in (menu.c and more.c 
are the only places needing this I think), but would much rather not
re-invent the wheel. So if anyone has already done this I would appreciate
it if you send me a patch (and send Kim a patch as well).

Thanks ...
--
Mathew Lim, Unix Systems Programmer, ANU Supercomputer Facility,	
Australian National University,	GPO Box 4, Canberra City, ACT, Australia 2601.
Telephone : +61 6 249 2750 	| ACSnet    : Mathew.BM.Lim@anu.oz
Fax       : +61 6 247 3425	| Internet  : Mathew.BM.Lim@anu.edu.au
Technical Details
Message-ID: <mbl900.694934475@anusf.anu.edu.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!manuel!mbl900

Show Full Headers
Complete Article Headers
Message-ID: <mbl900.694934475@anusf.anu.edu.au>
Subject: Using AUTHORIZE to restrict posting
Date: Thu, 09 Jan 1992 05:21:15 +0000
From: mbl900@anu.oz.au (Mathew BM LIM)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!manuel!mbl900
Newsgroups: news.software.nn
Sender: news@newshost.anu.edu.au
Organization: Computer Services Centre, Australian National University
Lines: 24