🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Szalai Balazs - eeisbas Mon, 26 Aug 2002 16:57
[INN] Q: INN install with standard user
#60064
Author: Szalai Balazs - eeisbas
Date: Mon, 26 Aug 2002 16:57
54 lines
2300 bytes
lo all,

is it possible to install INN 2.3.3 using an ordinary user.
I'd like to setup an experimental news server (only for
some local groups, no external feed)... 
and (of course) I have no root privileges.

I was using
  --prefix=$HOME/news
  --with-perl
  --with-news-user=<my id>
  --with-news-user=<my group>
  --with-news-master=<my id>
  --with-sendmail=<location of sendmail>
  [once with --with-innd-port=1119]

> make
  completed fine

> make install 
  completed fine

edited
  inn.conf
  incoming.conf
  newsfeed
  control.ctl

  > rc.news
  > (looks ok, but I can't connect to localhost)

  > ps -ef | grep inn
  only gives back '$BINDIR/innwatch'

  > inndstart
  > (looks ok, but I can't connect to localhost)

  > innd start
  Usage error.

Do you know if that could (only) be because I made a mistake in some
config files
or is it impossible without root permissions. The installation manual
and the FAQ
states it once, however gives option to use any other user.
I tried to use port 1119, if it's some problem with port number under
1024.

Is INN overkill for my needs? Would recommend other server software?

Thanks in advance

//Balazs
Re: [INN] Q: INN install with standard user
#60066
Author: Jeffrey M. Vinocur
Date: Mon, 26 Aug 2002 18:39
50 lines
2267 bytes
In article <3D6A5DE8.73545897@spam.ericsson.se>,
Szalai Balazs - eeisbas  <Balazs.Szalai@spam.ericsson.se> wrote:
>
>is it possible to install INN 2.3.3 using an ordinary user.

It should be.


>  --prefix=$HOME/news
>  --with-perl
>  --with-news-user=<my id>
>  --with-news-user=<my group>
>  --with-news-master=<my id>
>  --with-sendmail=<location of sendmail>
>  [once with --with-innd-port=1119]

You definitely need to compile in support for some >1024 port.
You probably need to manually set the port: to 1119 in inn.conf
too.

>  > rc.news
>  > (looks ok, but I can't connect to localhost)

Have you looked in the logs?

Wait a minute.

Ho hum.  I don't know how INN logs in your configuration.
Normally it uses syslog, but you presumably don't have access to
the syslog configuration.  Maybe somebody knows if INN can log in
some other fashion?


>I tried to use port 1119, if it's some problem with port number under
>1024.

Yes, that will certainly be relevant.


>Is INN overkill for my needs? Would recommend other server software?

Hard to say without knowing more about what you want to do.

I would always use INN, of course, but perhaps there's something
else that will work better for you.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN] Q: INN install with standard user
#60068
Author: Russ Allbery
Date: Mon, 26 Aug 2002 19:16
17 lines
1674 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> Ho hum.  I don't know how INN logs in your configuration.  Normally it
> uses syslog, but you presumably don't have access to the syslog
> configuration.  Maybe somebody knows if INN can log in some other
> fashion?

Unfortunately, it can't.  Once it's switched over to the new message
handling system in INN 2.4, this could be made configurable, but it isn't
right now.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN] Q: INN install with standard user
#60072
Author: Jeffrey M. Vinocur
Date: Mon, 26 Aug 2002 20:37
21 lines
1790 bytes
In article <yl1y8lfn1h.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> Ho hum.  I don't know how INN logs in your configuration.  Normally it
>> uses syslog, but you presumably don't have access to the syslog
>> configuration.  Maybe somebody knows if INN can log in some other
>> fashion?
>
>Unfortunately, it can't.  Once it's switched over to the new message
>handling system in INN 2.4, this could be made configurable, but it isn't
>right now.

Ooof.  And I suppose there's no way to turn the logging off
entirely either.  So the original poster has no way to avoid
sending the news stuff to bother his sysadmin.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN] Q: INN install with standard user
#60101
Author: Szalai Balazs - eeisbas
Date: Wed, 28 Aug 2002 16:20
42 lines
2780 bytes
First thanks for the replies.

> > > You definitely need to compile in support for some >1024 port.
> > > You probably need to manually set the port: to 1119 in inn.conf
> > > too.
Ooops, I though if I set it by ./configure that will do... now
corrected manually.

> >> Ho hum.  I don't know how INN logs in your configuration.  Normally it
> >> uses syslog, but you presumably don't have access to the syslog
> >> configuration.  Maybe somebody knows if INN can log in some other
> >> fashion?
> >
> >Unfortunately, it can't.  Once it's switched over to the new message
> >handling system in INN 2.4, this could be made configurable, but it isn't
> >right now.
> 
> Ooof.  And I suppose there's no way to turn the logging off
> entirely either.  So the original poster has no way to avoid
> sending the news stuff to bother his sysadmin.
What?!? What do you mean by 'bother his sysadmin'?
Like every log attempt would fail and sysadmin is notified. They
would kick my ...

Somehow I also missed inncheck so it turned out that I had some 
errors in inn.conf and now I'm much further.

However I see no effect for
> rc.news
or
> inndstart
so I started innd manually. I assume it's not the way I should start.
But after this... when I try to 'subscribe to newsgroups' I receive
"News server responded: Could not get your access name. Goodbye."
So is that means I have something running?
(sorry for having stupid questions, I've got too many things in 
paralell in my limitted mind)

10x

Balazs
Re: [INN] Q: INN install with standard user
#60112
Author: Jeffrey M. Vinocur
Date: Wed, 28 Aug 2002 17:35
57 lines
3014 bytes
In article <3D6CF851.227DBA32@spam.ericsson.se>,
Szalai Balazs - eeisbas  <Balazs.Szalai@spam.ericsson.se> wrote:
>First thanks for the replies.
>
>> > > You definitely need to compile in support for some >1024 port.
>> > > You probably need to manually set the port: to 1119 in inn.conf
>Ooops, I though if I set it by ./configure that will do... now
>corrected manually.

No, the configure setting is to compile in support for listening
on that port (because if inndstart is SUID it is careful not to
allow listening on arbitrary privledged ports).


>> Ooof.  And I suppose there's no way to turn the logging off
>> entirely either.  So the original poster has no way to avoid
>> sending the news stuff to bother his sysadmin.
>What?!? What do you mean by 'bother his sysadmin'?
>Like every log attempt would fail and sysadmin is notified. They
>would kick my ...

Depending on the syslog configuration, your news-related messages
might get thrown into some logfile.  Which would be probably no
big deal, but a lot of clutter next time someone looks at the
logs.


>Somehow I also missed inncheck so it turned out that I had some 
>errors in inn.conf and now I'm much further.

Yeah, I think we might want to make a bigger fuss about that in
INSTALL.


>However I see no effect for
>> rc.news
>or
>> inndstart
>so I started innd manually. I assume it's not the way I should start.

Well, normally you have problems binding to low ports.  But in
your case that's not an issue.  Note that rc.news also starts
some other things (like innwatch, to send you email when your INN
dies) which you may want.


>But after this... when I try to 'subscribe to newsgroups' I receive
>"News server responded: Could not get your access name. Goodbye."
>So is that means I have something running?

Yes...probably a problem with readers.conf, I think.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN] Q: INN install with standard user
#60110
Author: Russ Allbery
Date: Wed, 28 Aug 2002 18:35
28 lines
2281 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Szalai Balazs - eeisbas  <Balazs.Szalai@spam.ericsson.se> wrote:

>> First thanks for the replies.
>>> > > You definitely need to compile in support for some >1024 port.
>>> > > You probably need to manually set the port: to 1119 in inn.conf
>> Ooops, I though if I set it by ./configure that will do... now
>> corrected manually.

> No, the configure setting is to compile in support for listening on that
> port (because if inndstart is SUID it is careful not to allow listening
> on arbitrary privledged ports).

I think inndstart is content with any port above 1023 without any special
configuration.

> Yeah, I think we might want to make a bigger fuss about that in INSTALL.

I don't really trust inncheck right now; it needs a lot of work.  Although
mostly it's just that it doesn't find things it should and warns about
some stuff that isn't a problem.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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