🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61484

Re: inn auth: how to?~

#61484
From: Helmut Kreft
Date: Wed, 16 Oct 2002 02:12
31 lines
2211 bytes
On Wed, 16 Oct 2002 06:34:59 +0800, Jeremy wrote:
> Hi, i would like to setup password protected groups on INN 2.3.3 that checks
> against the system user database in freebsd 4.6.2 (i.e. /etc/master.passwd)
> 
> this is my current readers.conf
> 
> auth "jeremy" {
>         auth: "/bin/ckpasswd -f /etc/master.passwd"
>         default: "<all>"
> }

1.) NNTP transmits passwords as plain text, readable by anyone able to
    operate a sniffer. Reconsider.
2.) You can't read /etc/master.passwd as an ordinary user for security
    resons.
3.) chkpasswd can use getpwnam, but will receive '*' for the hash if the
    program is not running as root - again for security reasons.

You could change the perms of ckpasswd to SUID 0. This will very likely
make it work. It is your responsibility to figure out if this is an
acceptable risk.

Setting up a password database exclusively for the use by ckpasswd
as outlined in the manpage is definetely the better choice.

    Helmut

-- 
Conspiracy is the normal continuation of normal politics by normal means.
                                                        Carl Oglesby
Technical Details
Message-ID: <slrnaqpinf.lrq.kreft@seven.ai-lab.fh-furtwangen.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!news.belwue.de!news.foo.fh-furtwangen.de!not-for-mail
References: <aoi577$fh71@rain.i-cable.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnaqpinf.lrq.kreft@seven.ai-lab.fh-furtwangen.de>
Subject: Re: inn auth: how to?~
Date: Wed, 16 Oct 2002 02:12:00 +0000
From: Helmut Kreft <kreft@unfug.org>
References: <aoi577$fh71@rain.i-cable.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!news.belwue.de!news.foo.fh-furtwangen.de!not-for-mail
Newsgroups: news.software.nntp
Organization: Fachhochschule Furtwangen
Lines: 30
NNTP-Posting-Host: seven.ai-lab.fh-furtwangen.de
X-Trace: fluffy.foo.fh-furtwangen.de 1034734320 19077 141.28.33.148 (16 Oct 2002 02:12:00 GMT)
X-Complaints-To: usenet@news.foo.fh-furtwangen.de
NNTP-Posting-Date: Wed, 16 Oct 2002 02:12:00 +0000 (UTC)
User-Agent: slrn/0.9.7.2 (FreeBSD)