Thread View: news.software.nntp
6 messages
6 total messages
Started by Benedict White
Mon, 29 Jul 2002 09:01
Banning a user from posting
Author: Benedict White
Date: Mon, 29 Jul 2002 09:01
Date: Mon, 29 Jul 2002 09:01
15 lines
1286 bytes
1286 bytes
I seem to be having little success banning a particular user from a news server running INN 2.2.3 Where do I put the bans? Kind regards -- Benedict White ben@cse-ltd.co.uk DBase Charter Member (100 0723)
Re: Banning a user from posting
Author: Jeffrey M. Vinocur
Date: Tue, 30 Jul 2002 05:04
Date: Tue, 30 Jul 2002 05:04
14 lines
1412 bytes
1412 bytes
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? You predate readers.conf, which means the appropriate file is nnrp.access (or possibly you may need a Perl posting filter, if you want to do something complicated). -- Jeffrey M. Vinocur jeff@litech.org
Re: Banning a user from posting
Author: Benedict White
Date: Tue, 30 Jul 2002 09:44
Date: Tue, 30 Jul 2002 09:44
34 lines
1811 bytes
1811 bytes
"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)
Re: Banning a user from posting
Author: Jeffrey M. Vinocur
Date: Tue, 30 Jul 2002 17:02
Date: Tue, 30 Jul 2002 17:02
48 lines
2681 bytes
2681 bytes
In article <3D465FE7.6D7A4599@cse-ltd.co.uk>, Benedict White <ben@cse-ltd.co.uk> wrote: > >"Jeffrey M. Vinocur" wrote: >> 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. Hmm, I think nnrp.access should be able to handle that. Read the manpage for it and see if you can get things working. >> You predate readers.conf, > >What could I do if I had that and which version of INN should have? 2.3.x -- Oh, is this a new server you're just setting up? You can do pretty crazy stuff with the reader.conf mechanism, but if what you want consists of: - disallow access from some particular IP addresses - let in people with passwords from anywhere else - let in everybody from some particular IP addresses then I think nnrp.access may be adequate. On the other hand, readers.conf lets you use a separate /etc/passwd-style file, which may be easier to maintain. >In particular what I would like is some nice easy web based script to give >people user names and passwords etc. I don't know of anything like this (INN people generally do admin from the commandline, not via a web interface). However, if you're using readers.conf, you keep all of the usernames and passwords in a standard passwd file, which means you can use standard tools (like htpasswd from the Apache package) to maintain it. I don't know if anybody in the Apache world has written a web interface to htpasswd like you desire. -- Jeffrey M. Vinocur jeff@litech.org
Re: Banning a user from posting
Author: Reynold M. de Guzman
Date: Tue, 30 Jul 2002 21:38
Date: Tue, 30 Jul 2002 21:38
96 lines
3619 bytes
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)
>
>
Re: Banning a user from posting
Author: Jeffrey M. Vinocur
Date: Wed, 31 Jul 2002 04:18
Date: Wed, 31 Jul 2002 04:18
14 lines
1472 bytes
1472 bytes
In article <mHD19.146121$88.2854643@twister.austin.rr.com>, Reynold M. de Guzman <reynold@end-tech.com> wrote: >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. Right. Benedict, be aware that this is only applicable to INN 2.3 and later. -- Jeffrey M. Vinocur jeff@litech.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads