🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46547

Re: does the "news" require a shell to work

#46547
From: bill davidsen
Date: Tue, 23 May 2000 00:00
32 lines
1953 bytes
In article <3929DE01.3121053B@datataker.com.au>,
Adam Clark  <adam@datataker.com.au> wrote:

|     I'm looking into security on my box and I am wondering if the news
| user actually
| need a command interpreter to function correctly or can I just use
| /dev/null?
| Will I run into any problems If i do so?

  Only that running as root is bad practice, leads to messing up the
ownership of things, and that you will have to diddle crontab jobs as I
recall.

  I'm not sure why you think news is a larger hole than any other id,
and if someone breaks a news program they can just start a shell,
default or not.

  And, if you "su - news" you need a shell, while if you just "su news"
and reset all the environment stuff, logname still points to root, and
on some systems that will confuse crontab. can't remember which ones,
and I don't think you said in any case.

  Sounds like a poor cost / benefit ratio to me.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  "Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.

Technical Details
Message-ID: <8gepib$feb$1@newssvr02.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
References: <3929DE01.3121053B@datataker.com.au>

Show Full Headers
Complete Article Headers
Message-ID: <8gepib$feb$1@newssvr02.news.prodigy.com>
Subject: Re: does the "news" require a shell to work
Date: Tue, 23 May 2000 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <3929DE01.3121053B@datataker.com.au>
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: 626424738
X-Trace: newssvr02.news.prodigy.com 959113611 000 192.168.190.236 (23 May 2000 20:26:51 GMT)
Organization: TMR Associates, Schenectady NY
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com
X-Complaints-To: abuse@prodigy.net