🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67398

INN problems with authentication against shadow

#67398
From: Jochen Staerk
Date: Fri, 12 Dec 2003 20:23
49 lines
2875 bytes
Hi Group,

I want to restrict news server access to the people in the shadow. So I 
configured my inn 2.4 like described in 
http://www.eyrie.org/~eagle/software/inn/docs-2.4/readers.conf.html, but 
unfortunately, I can not log in.

the news user is member of the shadow group and
/usr/lib/news/bin/auth/passwd/ckpasswd -s -u jochen -p mypassword
just works fine.

However, I get the following log entries

Nov 21 16:03:16 maggie nnrpd[5345]: localhost (127.0.0.1) connect
Nov 21 16:03:16 maggie nnrpd[5345]: Reading access from 
/etc/news/readers.conf
Nov 21 16:03:16 maggie nnrpd[5345]: localhost no_success_auth
Nov 21 16:03:20 maggie nnrpd[5345]: localhost auth starting 
authenticator /usr/lib/news/bin/auth/passwd/ckpasswd -s
Nov 21 16:03:20 maggie nnrpd[5345]: localhost bad_hook program caught 
signal 15
Nov 21 16:03:20 maggie nnrpd[5345]: localhost auth authenticator failed
Nov 21 16:03:20 maggie nnrpd[5345]: localhost no_success_auth
Nov 21 16:03:20 maggie nnrpd[5345]: localhost bad_auth
Nov 21 16:03:20 maggie nnrpd[5345]: localhost times user 0.002 system 
0.003 idle 0.002 elapsed 4.803
Nov 21 16:03:20 maggie nnrpd[5345]: localhost time 4803 idle 4526(3) 
nntpwrite 191(7)
Nov 21 16:07:46 maggie innd: ME time 300862 hissync 0(1) idle 300851(4) 
nntpread 0(1)
Nov 21 16:07:46 maggie innd: ME HISstats 0 hitpos 0 hitneg 0 missed 0 dne

with my readers.conf:

auth "all" {
    auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -s"
}

access "full" {
    users: "*"
    newsgroups: "*"
    access: RPA
}

can anybody please help?

Thanks very much,
Jochen
Technical Details
Message-ID: <brd850$48o$02$1@news.t-online.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <brd850$48o$02$1@news.t-online.com>
Subject: INN problems with authentication against shadow
Date: Fri, 12 Dec 2003 21:23:59 +0100
From: Jochen Staerk <jstaerk@usegroup.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: T-Online
Lines: 49
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1071260640 02 4376 Qi1EGB5lY9d0cZM 031212 20:24:00
X-Complaints-To: usenet-abuse@t-online.de
X-ID: TlOFu8ZQoevxQt9qPZ7PCp8pL8RCaCnAolYjxDeLL0-oD7AJXvoh8k
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en