🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by M. Sohaib Mon, 08 Jul 2002 06:29
Starting INND as different user/port
#59521
Author: M. Sohaib
Date: Mon, 08 Jul 2002 06:29
26 lines
1443 bytes
Hi,

I am trying to run/configure innd on lunix machine as user other thatn 'news'.

I have configured and installed using following script

./configure \
--prefix=/home/testuser/innd \
--with-innd-port=11900 \
--with-sendmail=/usr/sbin/sendmail \
--with-news-user=testuser \
--with-news-group=users

I was able to successfully install, but failed to start. 

When I run rc.news, I get following msg

--- Starting innd.
--- inndstart must be run by user news
--- Scheduled start of /home/sohaib/innd/bin/innwatch.


Can anyone help how can I run innd with user different from news?

Sohaib
Re: Starting INND as different user/port
#59526
Author: Russ Allbery
Date: Mon, 08 Jul 2002 16:58
33 lines
2048 bytes
M Sohaib <msohaib@yahoo.com> writes:

> I am trying to run/configure innd on lunix machine as user other thatn
> 'news'.

> I have configured and installed using following script

> ./configure \
> --prefix=/home/testuser/innd \
> --with-innd-port=11900 \
> --with-sendmail=/usr/sbin/sendmail \
> --with-news-user=testuser \
> --with-news-group=users

> I was able to successfully install, but failed to start. 

> When I run rc.news, I get following msg

> --- Starting innd.
> --- inndstart must be run by user news
> --- Scheduled start of /home/sohaib/innd/bin/innwatch.

Well, that error message indicates that inndstart was compiled with
NEWSUSER set to news, not testuser.  Why that happened, I'm not sure.
Take a look at include/config.h after you run configure and see what
NEWSUSER is set to.

-- 
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: Starting INND as different user/port
#59544
Author: M. Sohaib
Date: Thu, 11 Jul 2002 13:53
36 lines
2126 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<yln0t2tavq.fsf@windlord.stanford.edu>...
> M Sohaib <msohaib@yahoo.com> writes:
> 
> > I am trying to run/configure innd on lunix machine as user other thatn
> > 'news'.
>  
> > I have configured and installed using following script
>  
> > ./configure \
> > --prefix=/home/testuser/innd \
> > --with-innd-port=11900 \
> > --with-sendmail=/usr/sbin/sendmail \
> > --with-news-user=testuser \
> > --with-news-group=users
>  
> > I was able to successfully install, but failed to start. 
>  
> > When I run rc.news, I get following msg
>  
> > --- Starting innd.
> > --- inndstart must be run by user news
> > --- Scheduled start of /home/sohaib/innd/bin/innwatch.
> 
> Well, that error message indicates that inndstart was compiled with
> NEWSUSER set to news, not testuser.  Why that happened, I'm not sure.
> Take a look at include/config.h after you run configure and see what
> NEWSUSER is set to.


I have looked at include/config.h file, it has correct values for
NEWSUSER and NEWSGRP i.e.,
#define NEWSUSER="testuser"
#define NEWGRP="users"

any ideas???
Re: Starting INND as different user/port
#59545
Author: Russ Allbery
Date: Thu, 11 Jul 2002 18:33
28 lines
2034 bytes
M Sohaib <msohaib@yahoo.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> Well, that error message indicates that inndstart was compiled with
>> NEWSUSER set to news, not testuser.  Why that happened, I'm not sure.
>> Take a look at include/config.h after you run configure and see what
>> NEWSUSER is set to.

> I have looked at include/config.h file, it has correct values for
> NEWSUSER and NEWSGRP i.e.,
> #define NEWSUSER="testuser"
> #define NEWGRP="users"

> any ideas???

Make sure that you're picking up the correct inndstart.

Make sure that pathnews/run is owned by the right user.

Run strings inndstart | grep testuser and make sure that this really did
get compiled into inndstart.

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