🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71073

INN: newbie questions

#71073
From: Krzysztof Trybowski
Date: Sun, 17 Apr 2005 21:11
53 lines
3319 bytes
Hello all,

  I have some questiont that were not answered by reading readers.conf, if
you could help a bit I'd appreciate.

  I  have  generated  the  password  file  for users accessing my nntp
  server   (done  so  using  htpasswd)  and created an auth group that
  looks like:

auth "everybody" {
    auth: "ckpasswd -f /etc/news/users"
    default: "public"
}

  Now,  if later I also want to include users from /etc/shadow, should
  I  just add another auth: with "ckpasswd -s"? This seems to be true,
  however there are two things to consider. How big impact on system's
  security  does  that  have?  And  I noticed that my /etc/shadow uses
  different way of hashing passwords -- they are longer and start with
  $1$. Could that be MD5? Will ckpasswd deal with such passwords? This
  hashing  seems  to  be  better,  so  maybe  I should use it also for
  /etc/news/users?  I tried to generate /etc/news/users2, but I didn't
  manage  to get the results compatible with what I see in shadow. The
  closest I get are strings that start with $apr1$ (htpasswd -m).

  What  if I wanted to use an sql database instead of /etc/news/users?
  Should I use something other than ckpasswd and if so, then what?
  
  Is there a way to have "access" groups "combined" (or should I say
inheritable). Let's imagine I have:

access "public" {
    users "*"
    read: "xxx.public, xxx.announcements"
    post: "xxx.public"
}

access "user1" {
    users: "joe"
    read: "xxx.privat"
    post: "xxx.privat, xxx.announcements"
}

I'd like Joe be able to read xxx.public and post to it, but without stating
it in his read: and post: entries. Is there a way to make access "user1"
inherit also what is true for access "public". Otherwise as the number of
groups rises, configuring this will become a nightmare :/.

Is there a way to format read: or post: directives so that they tell "all
groups *except* for ..."?

TIA, regards.
  
Technical Details
Message-ID: <pkt2o8fzvpq7.dlg@trybik.mamut.zax.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.hanau.net!news-fra1.dfn.de!newsfeed.pionier.net.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <pkt2o8fzvpq7.dlg@trybik.mamut.zax.pl>
Subject: INN: newbie questions
Date: Sun, 17 Apr 2005 23:11:21 +0200
From: Krzysztof Trybowski <trybowski@gazeta.pl.invalidd>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.hanau.net!news-fra1.dfn.de!newsfeed.pionier.net.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
Newsgroups: news.software.nntp
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 53
NNTP-Posting-Host: zj170.internetdsl.tpnet.pl
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: inews.gazeta.pl 1113772279 25295 80.53.141.170 (17 Apr 2005 21:11:19
 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sun, 17 Apr 2005 21:11:19 +0000 (UTC)
X-User: trybowski
X-Face: "!/](w*Q]iKww@<!i~,OQ}rl>zqQn\!n4DK;
 ga19VQb%~>R#'"_dwSo8-%xD$8nbnRw3bvW
 hl/\A^.S-BK[h}^cYE.:(!F{g>Ly)l1,<IYB6qmmj#vbW"Rt2/pTtA3yI:~'33ZF'Ko-JhbWIs5$!b
 q/Rs$)l
User-Agent: 40tude_Dialog/2.0.15.1