Article View: news.software.nntp
Article #28287Re: Safe to make nnrpd setuid root?
From: Fluffy
Date: Thu, 21 May 1998 00:00
Date: Thu, 21 May 1998 00:00
19 lines
1366 bytes
1366 bytes
mills@cc.umanitoba.ca (Gary Mills) writes: > 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? It should be nominally safe, as long as you're sure your input buffer can't be "hijacked" before you've accepted that a session is authorized and you drop down out of root. You might want to do an extra-careful walkthrough of things like the authinfo generic routine that spawn external commands. Look in Deja News for a patch by underdog at flash.net that does what you want with shadow passwords (if you're not shadowing, you probably don't need to suid root).
Technical Details
Message-ID:
<8790nwxmxj.meow@fluffy.meow.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:
<6k088i$kl$1@canopus.cc.umanitoba.ca>Show Full Headers
Complete Article Headers
Message-ID: <8790nwxmxj.meow@fluffy.meow.org> Subject: Re: Safe to make nnrpd setuid root? Date: Thu, 21 May 1998 00:00:00 +0000 From: Fluffy <vulis@meow.org> 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: 355133747 X-Server-Date: Thu, 21 May 1998 04:33:44 GMT Organization: We Are All Vulis[tm] Newsgroups: news.software.nntp