Article View: news.software.nn
Article #2182Re: restricting access to groups
From: Alexis Rosen
Date: Sat, 19 Oct 1991 09:02
Date: Sat, 19 Oct 1991 09:02
32 lines
2069 bytes
2069 bytes
wohler@sapwdf.UUCP (Bill Wohler) writes:
>a9000005@tscc2.macarthur.uws.edu.au (Brian Watson) writes:
>> Is it possible for me (as the news admin) to restrict the groups
>>that users will have access to.
> could the person(s) that answered this question earlier this year
> please post their answers again so i may add it to the FAQ? i, i
> mean we, the readers of nn, would appreciate it greatly.
> i think the upstart of that old thread was "no", although there might have
> been some tricks that people posted. i can't remember.
I did this long before installing nn, and it hasn't broken since. It's actaully
quite easy, and it has nothing to do with nn- it's a transport (or file system)
issue.
Create a new group for the people who can read the special groups. Call it
"privnews", for example. (In /etc/group put the userid of each person
who's in that group on that group's line.) Then change the group of the
spool directory which contains the restricted newsgroup to "privnews",
and make it mode 750. (It's still owned by news.)
Now, news will still work, because it's still owner and has full rights to
that group. Users in the privileged group can read it because they have read
and search access on the directory. Users not in the privileged group can't
read or search the directory and so are totally locked out.
---
Alexis Rosen
Owner/Sysadmin, PANIX Public Access Unix, NYC
alexis@panix.com
{cmcl2,apple}!panix!alexis
Technical Details
Message-ID:
<1991Oct19.090239.27946@panix.com>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!gmdzi!unido!mcsun!uunet!psinntp!cmcl2!panix!alexisReferences:
<a9000005.687750802@tscc2> <3107@sapwdf.UUCP>Show Full Headers
Complete Article Headers
Message-ID: <1991Oct19.090239.27946@panix.com> Subject: Re: restricting access to groups Date: Sat, 19 Oct 1991 09:02:39 +0000 From: alexis@panix.com (Alexis Rosen) References: <a9000005.687750802@tscc2> <3107@sapwdf.UUCP> 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!gmdzi!unido!mcsun!uunet!psinntp!cmcl2!panix!alexis Newsgroups: news.software.nn Organization: PANIX Public Access Unix, NYC Lines: 32