🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47539

Re: Most dependable version to use

#47539
From: Bruce D. Meyer
Date: Sat, 22 Jul 2000 00:00
49 lines
2797 bytes
Well, that worked. (Why in heck was I trying that darned su thing anyway?)

I logged in as user news, did an rc.news, and that's it. It fired up nice
and quiet. Now to try and figure out what might be casuing the corrption. I
may just start by popping in a new stick of ram, an dseeing if that fins
anything. (quickest way for starters till I find some pointers in the news
groups or something)

Thanks for the tip,
    Bruce Meyer

"Russ Allbery" <rra@stanford.edu> wrote in message
news:ylwvifte4p.fsf@windlord.stanford.edu...
> Bruce D Meyer <bmeyer@rocsoft.net> writes:
>
> > When I try to start INN as news, It won't go.
>
> Log in as user news and just run rc.news without any su or anything.  That
> should work, and it's the most reliable.  If that doesn't work, I'd be
> very curious to see the exact error message.  I'm betting that if that's
> not working, the setuid bit on inndstart and possibly startinnfeed has
> been cleared somehow.
>
> > I realize this means it is su'ing to news and running, but it always
> > says something similar to permission denied, (and always has since day
> > one) But it goes and runs news anyway.
> > error is:
> > /root/.bashrc: permission denied
>
> You've got extra gunk in your environment.  Something like:
>
>   su - news -c "/path/to/rc.news"
>
> may work better.
>
> > I assume it means that once it su's to news, it can't run the .bashrc
> > file as it deosn't have high enough permissions. (as news) I don't
> > understand that as it has a .bashrc file under /root (belongs to root)
> > and one under /home/news that belongs to news.
>
> It probably looks in $HOME.  su without the extra - doesn't clear out
> things like $HOME.
>
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



Technical Details
Message-ID: <8lbr30$qn$1@news.rocsoft.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: <8ku9bn$57k$1@nnrp1.deja.com> <8l4m0d$oe2$1@newssvr05-en0.news.prodigy.com> <8l9d3v$289$1@news.rocsoft.net> <ylwvifte4p.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <8lbr30$qn$1@news.rocsoft.net>
Subject: Re: Most dependable version to use
Date: Sat, 22 Jul 2000 00:00:00 +0000
From: "Bruce D. Meyer" <bmeyer@rocsoft.net>
References: <8ku9bn$57k$1@nnrp1.deja.com> <8l4m0d$oe2$1@newssvr05-en0.news.prodigy.com> <8l9d3v$289$1@news.rocsoft.net> <ylwvifte4p.fsf@windlord.stanford.edu>
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: 649413379
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Complaints-To: bmeyer@rocsoft.net
X-Trace: news.rocsoft.net 964259744 855 205.152.63.66 (22 Jul 2000 09:55:44 GMT)
Organization: Customer of RocSoft, Inc. Camden, SC. USA
X-MSMail-Priority: Normal
Reply-To: "Bruce D. Meyer" <bmeyer@rocsoft.net>
NNTP-Posting-Date: 22 Jul 2000 09:55:44 GMT
Newsgroups: news.software.nntp