Thread View: news.software.nntp
4 messages
4 total messages
Started by Kertis Henderson
Fri, 28 Mar 2003 16:54
Newbie INN configuration - ckpasswd
Author: Kertis Henderson
Date: Fri, 28 Mar 2003 16:54
Date: Fri, 28 Mar 2003 16:54
48 lines
2864 bytes
2864 bytes
Hello. I'm setting up INN on a RedHat Linux 7.3 i386 server. My goal
is to host a small number of public groups for my own use. I have an
ISP with a news server that I hope to use to poll for new messages.
I've been told that I can use INN for this, but I'm having problems
setting it up. I'm using Red Hat's INN RPM.
First Problem: Specifically, I can't get a newsgroup list. I connect
with an NNTP client. I can't log in. The error message on the server's
news.notice log is (with IP addresses and user names exed out):
Mar 28 11:42:20 bomb nnrpd[3954]: SERVER perl filtering enabled
Mar 28 11:42:20 bomb nnrpd[3954]: ? cant gethostbyaddr xx.xx.xx.xx
Unknown host -- using IP address for access
Mar 28 11:42:20 bomb nnrpd[3954]: xx.xx.xx.xx connect
Mar 28 11:42:20 bomb nnrpd[3954]: xx.xx.xx.xx auth_err ckpasswd: user
xxxxxx password doesn't match.
Mar 28 11:42:20 bomb nnrpd[3954]: xx.xx.xx.xx bad_auth
Mar 28 11:42:20 bomb nnrpd[3954]: xx.xx.xx.xx times user 0.000 system
0.000 elapsed 0.130
Here's my readers.conf:
auth all {
auth: "ckpasswd -f /etc/news/newspasswd"
# auth: "ckpasswd -s"
}
access full {
users: *
newsgroups: *
}
I've tried chkpasswd -s, -d, and -f with simlar results. I'm sure that
the passwords are correct in shadow, and I used the perl script in the
ckpasswd man page to create /etc/news/newspasswd.db (for -d) and used a
similar script to create the file for -f.
Help! Am I going about this wrong? Is there a simple tutorial for
doing this sort of thing?
Thanks for any help!
- Kertis
Re: Newbie INN configuration - ckpasswd
Author: Jeffrey M. Vinocur
Date: Fri, 28 Mar 2003 20:07
Date: Fri, 28 Mar 2003 20:07
57 lines
2666 bytes
2666 bytes
In article <3E847E39.3090502@no-s-pa-m.kertdawg.net>, Kertis Henderson <kertis@no-s-pa-m.kertdawg.net> wrote: >Hello. I'm setting up INN on a RedHat Linux 7.3 i386 server. My goal >is to host a small number of public groups for my own use. I have an >ISP with a news server that I hope to use to poll for new messages. >I've been told that I can use INN for this, You can, provide you use a separate program to fetch the messages from your ISP. See some discussion of this before you spend too much time (note particularly the last paragraph of answer 6.7): http://www.eyrie.org/~eagle/faqs/inn.html#S6.7 >I'm using Red Hat's INN RPM. For future reference, it's best to tell us the INN version (2.3.something, probably) when posting. >Mar 28 11:42:20 bomb nnrpd[3954]: xx.xx.xx.xx auth_err ckpasswd: user >xxxxxx password doesn't match. > >I've tried chkpasswd -s, -d, and -f with simlar results. I'm sure that >the passwords are correct in shadow, and I used the perl script in the >ckpasswd man page to create /etc/news/newspasswd.db (for -d) and used a >similar script to create the file for -f. For -s, is ckpasswd SUID or SGID to whatever user or group gives the appropriate access to read your shadow password file? For -f, the passwords are crypt()ed, right? I don't know why the -d would fail. >Help! Am I going about this wrong? I don't think so. Odd. You can test it from the commandline as follows: # $pathbin/auth/passwd/ckpasswd -f db/newsusers ClientAuthname: me ClientPassword: secReT .. And it should return something like this if all goes well: User:me -- Jeffrey M. Vinocur jeff@litech.org
Re: Newbie INN configuration - ckpasswd
Author: Kertis Henderson
Date: Fri, 28 Mar 2003 21:15
Date: Fri, 28 Mar 2003 21:15
82 lines
3315 bytes
3315 bytes
Jeffrey M. Vinocur wrote: > In article <3E847E39.3090502@no-s-pa-m.kertdawg.net>, > Kertis Henderson <kertis@no-s-pa-m.kertdawg.net> wrote: > >>Hello. I'm setting up INN on a RedHat Linux 7.3 i386 server. My goal >>is to host a small number of public groups for my own use. I have an >>ISP with a news server that I hope to use to poll for new messages. >>I've been told that I can use INN for this, > > > You can, provide you use a separate program to fetch the messages > from your ISP. See some discussion of this before you spend too > much time (note particularly the last paragraph of answer 6.7): > > http://www.eyrie.org/~eagle/faqs/inn.html#S6.7 > > > >>I'm using Red Hat's INN RPM. > > > For future reference, it's best to tell us the INN version > (2.3.something, probably) when posting. > Sorry. inn 2.3.2 > > >>Mar 28 11:42:20 bomb nnrpd[3954]: xx.xx.xx.xx auth_err ckpasswd: user >>xxxxxx password doesn't match. >> >>I've tried chkpasswd -s, -d, and -f with simlar results. I'm sure that >>the passwords are correct in shadow, and I used the perl script in the >>ckpasswd man page to create /etc/news/newspasswd.db (for -d) and used a >>similar script to create the file for -f. > > > For -s, is ckpasswd SUID or SGID to whatever user or group gives > the appropriate access to read your shadow password file? > THAT'S THE PROBLEM! Okay, it works just fine now! > For -f, the passwords are crypt()ed, right? > > I don't know why the -d would fail. > > > > >>Help! Am I going about this wrong? > > > I don't think so. Odd. > > You can test it from the commandline as follows: > > # $pathbin/auth/passwd/ckpasswd -f db/newsusers > ClientAuthname: me > ClientPassword: secReT > . > > And it should return something like this if all goes well: > > User:me > > Thank you! I will try the reading that you suggested above. Thank you so much. - Kertis
Re: Newbie INN configuration - ckpasswd
Author: Kertis Henderson
Date: Sat, 29 Mar 2003 05:32
Date: Sat, 29 Mar 2003 05:32
31 lines
2123 bytes
2123 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:b62a1o$1qb$1@puck.litech.org... [snip] > > For -s, is ckpasswd SUID or SGID to whatever user or group gives > the appropriate access to read your shadow password file? > > For -f, the passwords are crypt()ed, right? > > I don't know why the -d would fail. Okay, I'm actually using inn now. Thanks a lot. Now, about these oddities... ckpasswd was not set SUID. That solved it. The file that I was using for -f was made using crypt. I created the file as root, but even if ckpasswd was not SUID, it should still have been able to read the file. I'll look into that -f problem some more. (I mainly wanted to post something in a real newsgroup after finally getting inn to work!) - Kertis
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