🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Adam Clark Tue, 23 May 2000 00:00
does the "news" require a shell to work
#46568
Author: Adam Clark
Date: Tue, 23 May 2000 00:00
11 lines
1038 bytes
Hi,
    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?

Adam


Re: does the "news" require a shell to work
#46535
Author: Russ Allbery
Date: Mon, 22 May 2000 00:00
15 lines
1303 bytes
Adam Clark <adam@datataker.com.au> writes:

> 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?

It's strongly recommended that you do maintenance changes to the news
system as the news user to ensure that ownership remains correct, so
you'll want to at least be able to su to it.  This will require that it
have a valid shell, although it can certainly have an invalid password.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: does the "news" require a shell to work
#46544
Author: Adam Clark
Date: Tue, 23 May 2000 00:00
10 lines
993 bytes
Ok,
    some good points I didn't think of.  I think just a dodgy password
should do the trick.

Thanks again

Adam


Re: does the "news" require a shell to work
#46547
Author: 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.

Re: does the "news" require a shell to work
#46549
Author: Paul Martin
Date: Tue, 23 May 2000 00:00
17 lines
1164 bytes
In article <3929DE01.3121053B@datataker.com.au>,
	Adam Clark 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?

I'd suggest using /bin/true instead. No, news doesn't really need a
shell of its own. (It would help if you were to say which software you
were thinking of using, though.)

-- 
Paul Martin <pm@zetnet.net>
at home, swap dash to dot to email.

Re: does the "news" require a shell to work
#46556
Author: Paul Tomblin
Date: Tue, 23 May 2000 00:00
18 lines
1531 bytes
In a previous article, Adam Clark <adam@datataker.com.au> said:
>    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?

Doing so might break cron jobs and other shell scripts.  Why don't you
just make the password field for it "*no-login*"?


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
<<<You've got to love a newsreader with a menu option named "Kill this Author".
<<Does it work? And if so, is the death traceable?
<Nah, but Dave the Resurrector will just bring 'em back again.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads