Article View: news.software.nntp
Article #78676Re: Newbie: INN2
From: kjell
Date: Fri, 08 Feb 2008 13:52
Date: Fri, 08 Feb 2008 13:52
92 lines
3789 bytes
3789 bytes
fre 2008-02-08 klockan 12:47 +0100 skrev Bozweb:
> On Fri, 08 Feb 2008 11:51:12 +0100, kjell <hd@ipbo.se> wrote:
>
> >
> >ons 2008-02-06 klockan 10:07 +0000 skrev Klaus Alexander Seistrup:
> >
> >>
> >> I will leave the configuration for the "all" group as an exercise for
> >> your.
> >>
> >> Did you read the manual page for readers.conf ("man readers.conf")?
> >> It seems to me that you still have to discover that INN is very well
> >> documented.
> >>
> >> Cheers,
> >>
> >
> >Now my readers.conf look like this:
> >
> >auth "localhost" {
> > hosts: "localhost, ip6-localhost, 127.0.0.1, ::1, stdin"
> > default: "<localhost>"
> >}
> >
> >access "localhost" {
> > users: "<localhost>"
> > newsgroups: "*"
> > access: RPA
>
> Remove A, is for Approved
>
> >}
> >
> >auth "passwords" {
> >hosts: "*"
> >key: "pwd"
> >auth: "ckpasswd -f /usr/lib/news/bin/auth/passwd/.htpasswd"
> >}
> >
> >access "passwords" {
> >key: "pwd"
> >newsgroups: "*,!control*,!junk"
> >access: RPA
> >}
> >
> >I hope I have done my lesson? Or?
>
> No, you have to make a file in ../etc, IE: nntpusers.
> In readers.conf you type this: auth: "ckpasswd -f
> /usr/local/news/etc/nntpusers"
> and then: htpasswd nntpusers whatevername
> and fillin the password twice.
> The file nntpusers can whatever each name.
>
> auth "whatever" {
> hosts: "*"
> auth: "ckpasswd -f /usr/local/news/etc/nntpusers"
> }
> access "ok" {
> users: "*"
> newsgroups: *,!junk,!control,!control.*
> access: RP
> }
> access "ok" {
> users: "me"
> newsgroups: *,!junk,!control,control.*
> access: RPA
> }
> Only i can approved messages.
I have done this and it is ok for me to log in to my newsreader
with my username and password.
But it seems to me there is another problem:
henry@usenet:~$ telnet just2write2.myftp.org 119
Trying 83.209.44.82...
Connected to just2write2.myftp.org.
Escape character is '^]'.
200 just2write2.myftp.org InterNetNews server INN 2.4.4 (20070806
snapshot) ready
post
502 Permission denied
quit
205 .
Connection closed by foreign host.
henry@usenet:~$
He get the 502 cocka fucka message.
There is no way to enter username and password.
Technical Details
Message-ID:
<1202478775.31716.3.camel@ubuntu3>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!news.germany.com!news.warnet.at!open-news-network.org!just2write2.myftp.org!not-for-mailReferences:
<op.t5mzz9vb54ozbm@ubuntu> <803asiurpp.fsf@banana.shacknet.nu> <op.t5nwwigr54ozbm@ubuntu> <fnlq7j$jq2$1@zdani.szn.dk> <1201618481.14334.6.camel@ubuntu> <fnnf65$f18$1@zdani.szn.dk> <1201623319.6690.9.camel@ubuntu> <fno44d$hft$1@zdani.szn.dk> <1202290040.11820.9.camel@ubuntu3> <foc0sp$95a$1@zdani.szn.dk> <1202467872.28837.2.camel@ubuntu3> <47ac415b$0$85791$e4fe514c@news.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <1202478775.31716.3.camel@ubuntu3> Subject: Re: Newbie: INN2 Date: Fri, 08 Feb 2008 14:52:55 +0100 From: kjell <hd@ipbo.se> References: <op.t5mzz9vb54ozbm@ubuntu> <803asiurpp.fsf@banana.shacknet.nu> <op.t5nwwigr54ozbm@ubuntu> <fnlq7j$jq2$1@zdani.szn.dk> <1201618481.14334.6.camel@ubuntu> <fnnf65$f18$1@zdani.szn.dk> <1201623319.6690.9.camel@ubuntu> <fno44d$hft$1@zdani.szn.dk> <1202290040.11820.9.camel@ubuntu3> <foc0sp$95a$1@zdani.szn.dk> <1202467872.28837.2.camel@ubuntu3> <47ac415b$0$85791$e4fe514c@news.xs4all.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!news.germany.com!news.warnet.at!open-news-network.org!just2write2.myftp.org!not-for-mail Newsgroups: news.software.nntp Organization: A poorly-installed InterNetNews site Lines: 92 NNTP-Posting-Host: ce01684-adsl.cenara.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ubuntu3.just2write2.myftp.org 1202478775 31747 83.209.44.82 (8 Feb X-Complaints-To: hd@ipbo.se NNTP-Posting-Date: Fri, 8 Feb 2008 13:52:55 +0000 (UTC) In-Reply-To: <47ac415b$0$85791$e4fe514c@news.xs4all.nl> X-Mailer: Evolution 2.12.1