🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24537

Re: INN Shadow password patch...

#24537
From: Robert Bannocks
Date: Mon, 22 Dec 1997 00:00
47 lines
2633 bytes
Chris Bellomy <cbellomy@excalibur.flash.net> wrote:
: Nate Shockey <underdog@flash.net> wrote:

: > INN-1.7.2 shadow password file patch for Solaris...

: <snip>

: >         Here's where a little explanation is necessary.
: > In order to read the shadow file, you have to be root, right?

: Not necessarily.  One could set /etc/shadow to 440, with user
: news in the group with read access -- or one could just make
: news the owner of /etc/shadow.  I don't really recommend either
: approach, though.  Maybe others can shed some different light
: on the subject.


Setting the shadow file's permissions may not work, if your
users can loggin to the system and change their password
then the passwd program will recreate the default shadow
file permissions no matter what you set the current shadow
file permissions (default= -r--------).

One creative way to do this kind of password checking would be
to follow that taken in the cyrus imap server and have a little
deamon that binds to a UNIX domain socket (to which access is controled
by file system permissions) that nnrpd contacts and uses to valiadte users
that way nnrpd does not have to run as root.  The password checking
deamon could potencially be modified to guard against sustained password
guessing atacks which the current patch does not do.  It also does not
check password expiry and account expiry either.  

It is a pitty that little of this aspect of nntpd has changed with the
recent releases of INN.  There are several developments in the are of
user validation that need addressing, e.g. PAM and ldap and no one seems
intrested in doing this work, although admitidly this is quite
difficult work given the complexity to be surmounted.

Another slightly of the of the discussion point is that there are no facilities in the
NNTP protocol to acheive password changing and no mention of this in the 
recently published draft NNTP-ng spec.

rob


Technical Details
Message-ID: <67len5$qit$1@juno.king.ac.uk>
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!not-for-mail
References: <349982C8.2E3EF51@flash.net> <67c10s$3fc$1@excalibur.flash.net>

Show Full Headers
Complete Article Headers
Message-ID: <67len5$qit$1@juno.king.ac.uk>
Subject: Re: INN Shadow password patch...
Date: Mon, 22 Dec 1997 00:00:00 +0000
From: Robert Bannocks <cc_s551@kingston.ac.uk>
References: <349982C8.2E3EF51@flash.net> <67c10s$3fc$1@excalibur.flash.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.mbox.zip!not-for-mail
X-Deja-AN: 309307016
Distribution: inet
Sender: Robert Bannocks <cc_s551@kingston.ac.uk>
Organization: Kingston University, Kingston-upon-Thames.
Newsgroups: news.software.nntp