🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47209

Re: username/password in INN ?

#47209
From: Paul Tomblin
Date: Fri, 30 Jun 2000 00:00
24 lines
1857 bytes
In a previous article, "Dracula" <Dracula@bloodhound.dhs.org> said:
>"Paul Tomblin" <ptomblin@xcski.com> wrote in message > In a previous
>> Enable perl.  Write some perl code to check the userid and password in
>> bin/filter/nnrpd_auth.pl
>
>I can't write perl.
>Isn't there already something i can user.
>How do internet providers do it ???

They write perl.  It's only about 10 lines of code.
I'd give you an example, but mine authenticates against a different
database.  Basically, you take the nnrpd_auth.pl that's provided, and
instead of authenticating against the file as they do, you call getpwnam
on the user name to get his system password, crypt on the password, and
compare to the one that getpwnam returned.

There might be a PAM module, but I have no idea how to use it.

-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
Company slogan:  The Mandatory Beatings Will Continue Until Morale
Improves.

Technical Details
Message-ID: <8jib44$js8$1@allhats.xcski.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!not-for-mail
References: <8jhta0$1sl7$1@thor.wirehub.nl> <8ji29a$bci$1@allhats.xcski.com> <8jiae4$2c6a$1@thor.wirehub.nl>

Show Full Headers
Complete Article Headers
Message-ID: <8jib44$js8$1@allhats.xcski.com>
Subject: Re: username/password in INN ?
Date: Fri, 30 Jun 2000 00:00:00 +0000
From: ptomblin@xcski.com (Paul Tomblin)
References: <8jhta0$1sl7$1@thor.wirehub.nl> <8ji29a$bci$1@allhats.xcski.com> <8jiae4$2c6a$1@thor.wirehub.nl>
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: 640827881
X-Complaints-To: abuse@navaid.com
X-Trace: allhats.xcski.com 962375620 20360 192.168.1.1 (30 Jun 2000 14:33:40 GMT)
Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario
Reply-To: ptomblin@xcski.com (Paul Tomblin)
NNTP-Posting-Date: 30 Jun 2000 14:33:40 GMT
Newsgroups: news.software.nntp
Originator: ptomblin@xcski.com (Paul Tomblin)