🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24484

Re: INN Shadow password patch...

#24484
From: Mike Wilson
Date: Fri, 19 Dec 1997 00:00
33 lines
1924 bytes
bill davidsen wrote:
> 
> | 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.
> 
> As little as I like this idea, I surely like the idea of running as
> root a LOT less. With news allowed to read shadow I have a problem
> if someone gets in as news. With nnrpd running as root if someone
> gets in they get the store.
> 
> What's needed is a system call which takes the uid and the possible
> password and returns go/nogo. Absent that, I think a daemon like the
> actived would be useful, tiny program running as root, doing the
> test.


For now, to save me from hacking, I've simply placed the users crypted
password into the old SUNOS password field and it works. This might be
something others of you might with to do for "just" those users that
need it. This keeps ya from altering the shadow permissions or running
as root. Hopefully they will come up with something better in 1.8+

-- 

---
Mike Wilson
No Howard, No Eagle! - Spread the word.

Technical Details
Message-ID: <349AD32B.B7018AAA@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
References: <349982C8.2E3EF51@flash.net> <67c10s$3fc$1@excalibur.flash.net> <67ehk9$77c$1@newssvr03-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <349AD32B.B7018AAA@flash.net>
Subject: Re: INN Shadow password patch...
Date: Fri, 19 Dec 1997 00:00:00 +0000
From: Mike Wilson <mwilson@flash.net>
References: <349982C8.2E3EF51@flash.net> <67c10s$3fc$1@excalibur.flash.net> <67ehk9$77c$1@newssvr03-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-mail
X-Deja-AN: 308668053
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: http://www.drwho.org/
Mime-Version: 1.0
Newsgroups: news.software.nntp