Article View: news.software.nntp
Article #57681Re: HELP!!
From: Jeffrey M. Vinocur
Date: Tue, 26 Mar 2002 21:35
Date: Tue, 26 Mar 2002 21:35
75 lines
2800 bytes
2800 bytes
In article <92o1aus33juobr4jp7q2i2450na20qj4vf@4ax.com>,
Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>On Mon, 25 Mar 2002 20:48:21 -0800, Russ Allbery <rra@stanford.edu> wrote:
>
>
>>Is that the entirety of your readers.conf file?
>>
>No, but here it is:
>
>####################################
># Grant full access from localhost #
>####################################
>
>auth "localhost" {
> hosts: "localhost, 127.0.0.1, stdin"
> default: "<localhost>"
>}
>
>
>access "localhost" {
> users: "<localhost>"
> newsgroups: "*"
> access: RPA
>}
>
>#########################################
># Grant full access from within the LAN #
>#########################################
>
>auth "local" {
> hosts: "*.mydomain.com, 192.168.1.0/24"
> default: "<local>@mydomain.com"
>}
>
>
>access "local" {
> users: "<local>@mydomain.com"
> newsgroups: "*"
>}
>
>#######################################################
># Grant full access to outside users who are verified #
>#######################################################
>
>auth all {
> auth: "ckpasswd -f /usr/local/news/db/newspass"
>}
>
>access full {
> users: *
> newsgroups: *
>}
>
>#######
># EOF #
>#######
Hehe. You have not yet become One with your readers.conf.
A couple things:
- The last matching access group is used. Thus the "full" access
group will mask all of your other access groups.
- You might need to to put "default: <fail>" in your "all" auth
group and then add a new access group at the very bottom that
has "users: <fail>".
I think that will do it.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<a7qpjg$2mr$1@marduk.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mailReferences:
<lfvs8uc97b2d8vi6q69un7fsl9j04utngg@4ax.com> <abrv9ugvuv73259p6u9v919km3u82dq421@4ax.com> <yllmcglysq.fsf@windlord.stanford.edu> <92o1aus33juobr4jp7q2i2450na20qj4vf@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <a7qpjg$2mr$1@marduk.litech.org> Subject: Re: HELP!! Date: Tue, 26 Mar 2002 21:35:44 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <lfvs8uc97b2d8vi6q69un7fsl9j04utngg@4ax.com> <abrv9ugvuv73259p6u9v919km3u82dq421@4ax.com> <yllmcglysq.fsf@windlord.stanford.edu> <92o1aus33juobr4jp7q2i2450na20qj4vf@4ax.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Lithium Technologies Lines: 74 Sender: jeff@litech.org Distribution: inet NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 1017178544 2779 128.84.154.54 (26 Mar 2002 21:35:44 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 26 Mar 2002 21:35:44 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)