🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59752

Re: Banning a user from posting

#59752
From: Reynold M. de Guzman
Date: Tue, 30 Jul 2002 21:38
96 lines
3619 bytes
If you are needing authentication, try something like this in the
readers.conf file.  It took me a LONG time to figure this out so hope this
helps.

I'm using inn-2.3.2-12

------------------------ snip --------------------------
auth "jesusco_members" {
        key: "jesusco_members"
        hosts: *
        auth: "ckpasswd -f /etc/news/jesusco_members"
}

access "jesusco_members" {
        key: "jesusco_members"
        users: *
        read: "jesus.connect.*,!jesus.connect.admins*"
        post:
"jesus.connect.*,!jesus.connect.announcements,!jesus.conect.admins*"
}

auth "jesusco_admin" {
        key: "jesusco_admin"
        hosts: *
        auth: "ckpasswd -f /etc/news/jesusco_admin"
}

access "jesusco_admin" {
        key: "jesusco_admin"
        users: *
        read: "jesus.connect.*"
        post: "jesus.connect.*"
}
------------------------ snip --------------------------

Ok the jesusco_members and jesusco_admin files are two different sets of
password files.  Depending on where the news server finds the login name it
puts them in that category.  Admins get to see more in my configurations,
and also able to post in the announcements area.

You create those files by doing this first:
htpasswd -c /etc/news/jesusco_members somelogin

It will ask for a password, just put in the password.  Leave off the "-c"
after the file is created or it will overwrite it.

Your file should look something like this:
somelogin:4wFErsSG88UxQ
anotherguy:nRAYkQyYjYJqo

Good luck.

Reynold




"Benedict White" <ben@cse-ltd.co.uk> wrote in message
news:3D465FE7.6D7A4599@cse-ltd.co.uk...
>
>
> "Jeffrey M. Vinocur" wrote:
>
> > In article <3D45044C.76C15284@cse-ltd.co.uk>,
> > Benedict White  <ben@cse-ltd.co.uk> wrote:
> > >I seem to be having little success banning a particular user from a
news
> > >server running INN 2.2.3
> >
> > Do you want to ban by IP or username or what?
>
> By IP address.
>
>
> > You predate
> > readers.conf,
>
> What could I do if I had that and which version of INN should have?
>
> In particular what I would like is some nice easy web based script to give
> people user names and passwords etc.
>
> Kind regards
>
>
>
> --
> Benedict White
> ben@cse-ltd.co.uk
>
> DBase Charter Member (100 0723)
>
>


Technical Details
Message-ID: <mHD19.146121$88.2854643@twister.austin.rr.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!aotearoa.belnet.be!news.belnet.be!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone.austin.rr.com!twister.austin.rr.com.POSTED!53ab2750!not-for-mail
References: <3D45044C.76C15284@cse-ltd.co.uk> <ai56p0$sak$2@puck.litech.org> <3D465FE7.6D7A4599@cse-ltd.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <mHD19.146121$88.2854643@twister.austin.rr.com>
Subject: Re: Banning a user from posting
Date: Tue, 30 Jul 2002 21:38:26 GMT
From: "Reynold M. de Guzman" <reynold@end-tech.com>
References: <3D45044C.76C15284@cse-ltd.co.uk> <ai56p0$sak$2@puck.litech.org> <3D465FE7.6D7A4599@cse-ltd.co.uk>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!aotearoa.belnet.be!news.belnet.be!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone.austin.rr.com!twister.austin.rr.com.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.nntp
Lines: 95
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 24.27.126.115
X-Complaints-To: abuse@rr.com
X-Trace: twister.austin.rr.com 1028065106 24.27.126.115 (Tue, 30 Jul 2002 16:38:26 CDT)
NNTP-Posting-Date: Tue, 30 Jul 2002 16:38:26 CDT
Organization: Road Runner - Texas