Thread View: news.software.nntp
6 messages
6 total messages
Started by Jochen Staerk
Fri, 12 Dec 2003 20:23
INN problems with authentication against shadow
Author: Jochen Staerk
Date: Fri, 12 Dec 2003 20:23
Date: Fri, 12 Dec 2003 20:23
49 lines
2875 bytes
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
Re: INN problems with authentication against shadow
Author: Jeffrey M. Vinocur
Date: Fri, 12 Dec 2003 21:34
Date: Fri, 12 Dec 2003 21:34
32 lines
2053 bytes
2053 bytes
In article <brd850$48o$02$1@news.t-online.com>,
Jochen Staerk <jstaerk@usegroup.de> wrote:
>
>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.
It works fine run as the news user, right?
>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
Huh, that's interesting. (Is there a core dump anywhere?)
>auth "all" {
> auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -s"
>}
Oh, wait -- if you change that to just "ckpasswd -s" without the
full path, does it work?
(If it works, please let us know so we can track down why that
causes a segfault.)
--
Jeffrey M. Vinocur
jeff@litech.org
Re: INN problems with authentication against shadow
Author: Jochen Staerk
Date: Sat, 13 Dec 2003 00:17
Date: Sat, 13 Dec 2003 00:17
45 lines
2683 bytes
2683 bytes
Hi Jeffrey
>>/usr/lib/news/bin/auth/passwd/ckpasswd -s -u jochen -p mypassword
>>just works fine.
> It works fine run as the news user, right?
yes.
>>Nov 21 16:03:20 maggie nnrpd[5345]: localhost bad_hook program caught
>>signal 15
> Huh, that's interesting. (Is there a core dump anywhere?)
hmm... not in the syslog. Is there a way to get inn more verbose?
>>auth "all" {
>> auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -s"
>>}
>
>
> Oh, wait -- if you change that to just "ckpasswd -s" without the
> full path, does it work?
no, same result.
Dec 13 00:59:59 maggie nnrpd[2749]: localhost no_success_auth
Dec 13 01:00:05 maggie nnrpd[2749]: localhost auth starting
authenticator ckpasswd -s
Dec 13 01:00:05 maggie nnrpd[2749]: localhost bad_hook program caught
signal 15
Dec 13 01:00:05 maggie nnrpd[2749]: localhost auth authenticator failed
Dec 13 01:00:05 maggie nnrpd[2749]: localhost no_success_auth
Dec 13 01:00:05 maggie nnrpd[2749]: localhost bad_auth
Dec 13 01:00:05 maggie nnrpd[2749]: localhost times user 0.002 system
0.003 idle 0.002 elapsed 5.895
>
> (If it works, please let us know so we can track down why that
> causes a segfault.)
correct me if i'm wrong, but I thought signal 15 was a term rather than
a segfault?
regards,
Jochen
Re: INN problems with authentication against shadow
Author: Jeffrey M. Vinocur
Date: Sat, 13 Dec 2003 05:34
Date: Sat, 13 Dec 2003 05:34
29 lines
2057 bytes
2057 bytes
In article <3FDA5A89.3090805@usegroup.de>, Jochen Staerk <jstaerk@usegroup.de> wrote: > >> (Is there a core dump anywhere?) >hmm... not in the syslog. Well no, it would be a file in whatever the working directory of nnrpd is (not sure of that offhand). But as you pointed out, 15 is SIGTERM and not SIGSEGV, so of course there's no core file. >Is there a way to get inn more verbose? You can have your syslogd record news.debug, but the additional information is unlikely to be relevant in this case. >> Oh, wait -- if you change that to just "ckpasswd -s" without the >> full path, does it work? >no, same result. Huh. Anybody else waiting to chime in here? (By the way, what operating system are you running?) -- Jeffrey M. Vinocur jeff@litech.org
Re: INN problems with authentication against shadow
Author: Jochen Staerk
Date: Sat, 13 Dec 2003 13:56
Date: Sat, 13 Dec 2003 13:56
27 lines
2361 bytes
2361 bytes
Hi Jeffrey, >>Is there a way to get inn more verbose? > You can have your syslogd record news.debug, but the additional > information is unlikely to be relevant in this case. > Huh. Anybody else waiting to chime in here? > > (By the way, what operating system are you running?) Suse 9 with it's inn-2.4.0-31. With SuSE 8.1 (inn-2.3.2-125) i get "load at 60. try later" (on a system that has no concurrent users is not feeding anything and is not beeing fed by anybody. the process has just been started). ec 13 15:02:01 linux nnrpd[16572]: Reading config from /etc/news/inn.conf Dec 13 15:02:01 linux nnrpd[16572]: SERVER perl filtering enabled Dec 13 15:02:01 linux nnrpd[16572]: load 60 > 20 Dec 13 15:02:01 linux nnrpd[16572]: times user 0.010 system 0.010 elapsed 0.000 I try not to compile servers by myself to make use of online updates whenever possible. regards, Jochen
Re: INN problems with authentication against shadow
Author: Jeffrey M. Vinocur
Date: Sat, 13 Dec 2003 14:36
Date: Sat, 13 Dec 2003 14:36
19 lines
1742 bytes
1742 bytes
In article <3FDB1A99.8020009@usegroup.de>, Jochen Staerk <jstaerk@usegroup.de> wrote: > >Suse 9 with it's inn-2.4.0-31. Ok, I just wanted to make sure it wasn't something strange where the semantics of waitpid() were subtly different -- I'm not sure in what circumstances something would be sending SIGTERM, you see. >Dec 13 15:02:01 linux nnrpd[16572]: load 60 > 20 What does `uptime` tell you the load average is? -- 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