Article View: news.software.nntp
Article #31799Re: Alternative nntp authentication methods?
From: Brian L. Naylor
Date: Mon, 28 Sep 1998 00:00
Date: Mon, 28 Sep 1998 00:00
24 lines
1776 bytes
1776 bytes
On 27 Sep 1998 10:55:01 GMT, Per Hedeland <per@erix.ericsson.se> wrote: >Don't know about that, but I'd like to point out that passing user input >unscreened to system() isn't a very good idea security-wise - for that Egad, I know better than that. :-/ *sigh*, nothing like public embarassment to put an end to that whole 'laziness' thing. Here's a much more reasonable patch for external user authentication. http://www.sackheads.org/~bnaylor/nnrpd-authentication-v2.patch Compile nnrpd with -DEXTERNAL_AUTH="\"/path/to/auth/proggie\"" and though not necessarily logically consistent, you'll also need to make sure DONT_HAVE_SHADOW is defined. "username\npassword\n" is written to the auth program's stdin, as suggested by Per. Non-zero exit status from the auth program indicates failure, as before. -brian
Technical Details
Message-ID:
<slrn7104tm.208.bnaylor@haybaler.sackheads.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.mbox.zip!not-for-mailReferences:
<alex-2509981639200001@gzunda.medianet.ie> <slrn70nh2p.svt.john+usenet@haybaler.sackheads.org> <slrn70o6tu.kvf.brian+usenet@penfold.sackheads.org> <6ul5i5$rru$1@news.du.etx.ericsson.se>Show Full Headers
Complete Article Headers
Message-ID: <slrn7104tm.208.bnaylor@haybaler.sackheads.org> Subject: Re: Alternative nntp authentication methods? Date: Mon, 28 Sep 1998 00:00:00 +0000 From: bnaylor@haybaler.sackheads.org (Brian L. Naylor) References: <alex-2509981639200001@gzunda.medianet.ie> <slrn70nh2p.svt.john+usenet@haybaler.sackheads.org> <slrn70o6tu.kvf.brian+usenet@penfold.sackheads.org> <6ul5i5$rru$1@news.du.etx.ericsson.se> 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: 395607869 Sender: bnaylor@localhost.sackheads.org X-Complaints-To: abuse@sackheads.org X-Trace: haybaler.sackheads.org 907023286 2057 127.0.0.1 (28 Sep 1998 22:54:46 GMT) Organization: sackHeads NNTP-Posting-Date: 28 Sep 1998 22:54:46 GMT Newsgroups: news.software.nntp