🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84929

installing INN from source debian squeeze/port 563

#84929
From: zeffer
Date: Mon, 18 Jun 2012 10:31
74 lines
3284 bytes
I have two questions

First is that i have installed the INN tar ball from source on debian
squeeze 32 bit
the default news home dir is
slug@slug:~$ grep ^news /etc/passwd
news:x:9:9:news:/var/spool/news:/bin/sh

however i have installed it in /home/news
root@slug:~# su - news
No directory, logging in with HOME=/
$ pwd
/
$ cd /home/news
$ pwd
/home/news
$ ls
bin  db  doc  etc  http  include  lib  log  run  share	spool  tmp
$ ls -la
total 56
drwxr-xr-x 14 news news 4096 Jun 16 15:40 .
drwxr-xr-x  6 root root 4096 Jun 16 07:48 ..
drwxr-xr-x  6 news news 4096 Jun 16 15:40 bin
drwxr-xr-x  2 news news 4096 Jun 16 15:40 db
drwxr-xr-x  2 news news 4096 Jun 16 15:40 doc
drwxr-xr-x  2 news news 4096 Jun 16 15:40 etc
drwxr-xr-x  2 news news 4096 Jun 16 15:40 http
drwxr-xr-x  3 news news 4096 Jun 16 15:40 include
drwxr-xr-x  3 news news 4096 Jun 16 15:40 lib
drwxr-xr-x  3 news news 4096 Jun 16 15:40 log
drwxr-x---  2 news news 4096 Jun 16 15:40 run
drwxr-xr-x  3 news news 4096 Jun 16 15:40 share
drwxr-xr-x  8 news news 4096 Jun 16 15:40 spool
drwxr-xr-x  2 news news 4096 Jun 16 15:40 tmp
$

might this be a problem?
--------------------------------

My 2nd question relates to port 563
Is the this the correct way to do it below?

---------------------


  umask 077
   openssl req -new -x509 -nodes -out /etc/news/cert.pem \
       -days 366 -keyout /etc/news/key.pem
   chown news:news /etc/news/cert.pem
   chmod 640 /etc/news/cert.pem
   chown news:news /etc/news/key.pem
   chmod 600 /etc/news/key.pem




then after in inn.conf

  tlscapath:      <pathetc>
   tlscertfile:    <pathetc>/cert.pem
   tlskeyfile:     <pathetc>/key.pem

finally

I edit  /etc/init.d/inn2 init
script to add:
     su news -c '<pathbin>/nnrpd -D -p 563 -S'

in the start section, where <pathbin> is the path to nnrpd, and:
     su news -c 'killall nnrpd'

in the stop section.
thanks for any feedback
martin
Technical Details
Message-ID: <c5550881-984e-4cfc-905e-0116733322a7@l17g2000vbj.googlegroups.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!l17g2000vbj.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <c5550881-984e-4cfc-905e-0116733322a7@l17g2000vbj.googlegroups.com>
Subject: installing INN from source debian squeeze/port 563
Date: Mon, 18 Jun 2012 10:31:44 +0000
From: zeffer <xmartin108@gmail.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!l17g2000vbj.googlegroups.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 74
NNTP-Posting-Host: 31.172.30.1
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1340015505 26402 127.0.0.1 (18 Jun 2012 10:31:45
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 18 Jun 2012 10:31:45 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l17g2000vbj.googlegroups.com; posting-host=31.172.30.1;
 posting-account=uYGv1goAAAAOUvWLQ75TqbGwmXB5kpcZ
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1;
X-Original-Bytes: 2996