Article View: news.software.nntp
Article #28524Re: Safe to make nnrpd setuid root?
From: bill davidsen
Date: Thu, 28 May 1998 00:00
Date: Thu, 28 May 1998 00:00
25 lines
1845 bytes
1845 bytes
In article <6k088i$kl$1@canopus.cc.umanitoba.ca>, Gary Mills <mills@cc.umanitoba.ca> wrote: | I'd like to have nnrpd do authinfo user authentication against | the passwd map, using the `+' feature of nnrp.access. To do this, | nnrpd will need to run as root while it obtains the passwd entry. | Has anyone done this, and is it safe to do so? I regard this as somewhere between "unsafe" and "a gaping hole." If you're not running shadow passwords you don't need root, and if you are you want a small process which does the check for you. Actually you (and everyone else) should have a system call which takes a usersid and password and returns a status. Assume the obvious need for delay in response, max miss count, etc. It should have been this way all along, having password stuff in user programs is dumb, you can't change the algorithm. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "In elementary school, in case of fire you have to line up quietly in a single file line from smallest to tallest. What is the logic? Do tall people burn slower?" --Warren Hutcherson
Technical Details
Message-ID:
<6kk17e$9k0u$1@newssvr04-int.news.prodigy.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-mailReferences:
<6k088i$kl$1@canopus.cc.umanitoba.ca>Show Full Headers
Complete Article Headers
Message-ID: <6kk17e$9k0u$1@newssvr04-int.news.prodigy.com> Subject: Re: Safe to make nnrpd setuid root? Date: Thu, 28 May 1998 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <6k088i$kl$1@canopus.cc.umanitoba.ca> 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: 357332280 X-Auth-User: 000000000/8b5e2e7ce83e45d1 Originator: davidsen@darkstar.prodigy.com X-Post-Time: 28 May 1998 15:52:14 GMT Organization: TMR Associates, Schenectady NY X-Problems-To: abuse@prodigy.net Newsgroups: news.software.nntp