🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72319

Re: Authentication advice

#72319
From: John F. Morse
Date: Sat, 24 Sep 2005 22:25
93 lines
4411 bytes
Thanks for the quick reply.

Jeffrey M. Vinocur wrote:
> In article <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET>,
> John F. Morse <xanadu.bbs@invalid.net> wrote:
> 
>>For the past month I've been testing INN 2.4.2-3 [...]
>>
>>I've read about ckpasswd and ident as well as radius. It seems using 
>>readers.conf would be a big headache to maintain. Any thoughts or 
>>suggestions on these, or some other software?
> 
> 
> I think you're a bit confused.  You use readers.conf to tell INN
> when to use ckpasswd or ident or radius.  So you'll need to put
> in the time to understand readers.conf a little bit regardless of
> what you choose.  As long as you're allowing all authenticated
> users access to all of the groups, you won't need to do anything
> crazy with readers.conf.


I'm more than a bit confused. ;-)

I believe I read that readers.conf can authenticate a password, but I 
said it would be a headache because many different usernames and 
passwords would be better implemented by some other authentication method.


>>My user database is encrypted in the Mac, so I will need to enter every 
>>users USERNAME and PASSWORD by hand, preferably by using an existing 
>>textfile.
>>
>>Presently there are only about 30 users, and they are all over the 
>>world, from many different domains.
> 
> 
> Okay, you should definitely use readers.conf with ckpasswd.
> There is no role for ident or radius in your situation.


My situation will be changing. Right now I'm testing with the existing 
server(s), but soon I plan on providing open access for one, maybe more 
access groups, then authenticated access for one or more access groups, 
while maintaining multiple slave servers.

Does your statement still hold to use ckpasswd as the best choice should 
I grow?


> Your readers.conf should be very simple, like this:
> 
>    auth everyone {
>        hosts: "*"
>        auth: "ckpasswd -f /path/to/user-database"
>    }
> 
>    access {
>        users: "*"
>        newsgroups: "*,!junk,!control,!control.*"
>    }
> 
> And then your user-database file should be like this:
> 
>     johnsmith:j803asdf29
>     suebrown:la390fas3
>     mikejohnson:p3a0jxzmli


This looks very simple, but who should own this file, what access 
permissions (note ckpasswd(5) -s setgid security warning), and in what 
directory should it reside (where should "user-database" be)?


> Where the second field is the encrypted password (in regular unix
> fashion).  The easiest way to mainting this file is to use the
> "htpasswd" tool which is probably already installed on your
> machine as part of Apache.  See `man htpasswd` for details.


MD5 with PAM, or crypt?

Jeff, I have all of these docs and man pages. I've read them over and 
over for the last 10 days, until I'm blue in the face. The Debian 3.1r0a 
Synaptic install of INN 2.4.2-3 does not put some files in the 
directories that match those in the various docs. I have to fly by the 
seat of my pants, often trying my best guess several different ways.

Please bear with me while I ask for and receive good advice. This will 
help me learn the many pieces of INN so I can reconfigure it in the 
future. It will also prepare me to help others.

-- 
John
Technical Details
Message-ID: <e90d4$4335d25a$4097152a$3064@EVERESTKC.NET>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!EVERESTKC.NET-a2kHrUvQQWlmc!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <dh4dmf$d5u$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <e90d4$4335d25a$4097152a$3064@EVERESTKC.NET>
Subject: Re: Authentication advice
Date: Sat, 24 Sep 2005 17:25:29 -0500
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <dh4dmf$d5u$1@puck.litech.org>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!EVERESTKC.NET-a2kHrUvQQWlmc!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <dh4dmf$d5u$1@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@usenetserver.com
Lines: 93
X-Trace: e90d44335d25ae532b08f03064