🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Arthur Alinovi Tue, 09 Dec 2003 00:39
Help on readers.conf needed.
#67326
Author: Arthur Alinovi
Date: Tue, 09 Dec 2003 00:39
36 lines
2104 bytes
I'll start by admitting I'm new to linux and to setting up a news
server. Also, I have no programming knowledge at all. Obviously, I
could use some assistance here.

I've got RedHat 3.0 ES running on a Dell 2650.  I've got INN installed
and I'm now trying to set it up so that people connecting need to
provide a user name and password.

(This news server is stand alone and is just for the use of people in
the company I work for).

What I've got in readers.conf is:

auth "passwords"	 {
	hosts:	"*"
	key	"pwd"
	auth	"ckpasswd"
}

access "passwords"	{
	key	"pwd"
	newsgroups	"*"
	access	"Read Post"
}

Using Agent as a news reader, trying to connect gets me:

"Error 502. Authentication error"

I've read the readers.conf man page as well as other documentation and
I am totally lost.

I have no idea what I'm doing wrong or how to get this to work. Any
assistance would be most gratefully appreciated.

Thanks
Re: Help on readers.conf needed.
#67333
Author: Jeffrey M. Vinocur
Date: Tue, 09 Dec 2003 12:42
38 lines
2173 bytes
In article <jm5atv4upd77kmtligq4v7mvdj38bv77dv@4ax.com>,
Arthur Alinovi  <aalinovi@panix.com> wrote:
>
>auth "passwords"	 {
>	hosts:	"*"
>	key	"pwd"
>	auth	"ckpasswd"
>}
>
>access "passwords"	{
>	key	"pwd"
>	newsgroups	"*"
>	access	"Read Post"
>}

At a guess, you need to locate your news.crit, news.err, and
news.notice logs, and read them.

Because for one thing, if that's actually your readers.conf, it's
missing colons after all of the parameters (except hosts:).
Also, you haven't said what you want to authenticate against, but
you're probably going to need some arguments to ckpasswd
(depending).

Also, delete the two key: lines -- you don't need them -- and
delete the access: line -- it's redundant and deprecated.


>I've read the readers.conf man page as well as other documentation and
>I am totally lost.

You might also dig through the archives of this group in Google
Groups, since we talk about readers.conf all the time.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Help on readers.conf needed.
#67339
Author: Arthur
Date: Tue, 09 Dec 2003 16:05
68 lines
3210 bytes
Again, pleading my status as a rank beginner....

My readers.conf file has the required colons (that was just mistyping
on my part).

I've removed the two key: lines and the access: line as you suggested.

What I've done (and which seems to be working) is:

As root I copied /etc/shadow to /etc/news/shadow. I then changed
owner:group of /etc/news/shadow from root:root to news:news and
changed readers.conf to:

auth "passwords" {
        hosts:  "*"
        auth:   "ckpasswd -f /etc/news/shadow"
}

access "passwords" {
        newsgroups:     "*"
}

If I understand the ckpasswd man page, doing something similar in perl
should be easy, but as I don't know perl...

So, I guess now my question is,,,is there anything wrong with how I've
gotten this to work? Any security concerns or anything which may
break?

Thanks

On Tue, 9 Dec 2003 12:42:36 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:

>In article <jm5atv4upd77kmtligq4v7mvdj38bv77dv@4ax.com>,
>Arthur Alinovi  <aalinovi@panix.com> wrote:
>>
>>auth "passwords"	 {
>>	hosts:	"*"
>>	key	"pwd"
>>	auth	"ckpasswd"
>>}
>>
>>access "passwords"	{
>>	key	"pwd"
>>	newsgroups	"*"
>>	access	"Read Post"
>>}
>
>At a guess, you need to locate your news.crit, news.err, and
>news.notice logs, and read them.
>
>Because for one thing, if that's actually your readers.conf, it's
>missing colons after all of the parameters (except hosts:).
>Also, you haven't said what you want to authenticate against, but
>you're probably going to need some arguments to ckpasswd
>(depending).
>
>Also, delete the two key: lines -- you don't need them -- and
>delete the access: line -- it's redundant and deprecated.
>
>
>>I've read the readers.conf man page as well as other documentation and
>>I am totally lost.
>
>You might also dig through the archives of this group in Google
>Groups, since we talk about readers.conf all the time.
Re: Help on readers.conf needed.
#67345
Author: Jeffrey M. Vinocur
Date: Wed, 10 Dec 2003 13:02
31 lines
2426 bytes
In article <66sbtv428uj6i68i20c6gdktb8o3tt6g4d@4ax.com>,
Arthur  <aalinovi@si.rr.com> wrote:
>
>As root I copied /etc/shadow to /etc/news/shadow [...]
>
>So, I guess now my question is,,,is there anything wrong with how I've
>gotten this to work? Any security concerns or anything which may
>break?

Well, the security concerns in the -s section of the ckpasswd
manpage apply:

           This configuration is not recommended if it can be
           avoided, since the NNTP protocol has no way of pro-
           tecting passwords from casual interception, and using
           system passwords to authenticate NNTP connections
           therefore opens you up to the risk of password sniff-
           ing.  If you do use system passwords to authenticate
           connections, you should seriously consider only doing
           NNTP through ssh tunnels or over SSL.

In addition, you've made it so that if people change their
passwords (say, because they're worried about security in some
fastion), the news authentication will still use the old
(possibly compromised) passwords.  Also, this password duality
may be confusing to users.


-- 
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