Article View: news.software.nntp
Article #88492readers.conf authentication
From: Jason Evans
Date: Sat, 10 Oct 2020 14:10
Date: Sat, 10 Oct 2020 14:10
38 lines
1851 bytes
1851 bytes
Hi all,
I recently set up my first news server. I'm no longer having any problems
with configuring peers and everything seems to be working, but I can't get
external authentication working. Right now, I am accessing the server via
ssh and using alpine locally.
I would like to authenticate against /etc/shadow. I plan on only having a
handful of trusted external users, so I'm not too concerned with the
security issues with this. Here is my configuration in
/etc/news/readers.conf for external users:
auth worldwide {
hosts: "*"
auth: "ckpasswd -s"
default: <unauthenticated>
}
access authenticated { # people with passwords
users: "*"
read: "*"
post: "*"
}
access special { # people with extra access
users: "tux"
newsgroups: "*"
}
I have also set the guid for the shadow group to ckpassd and I have
created /etc/pam.d/nnrpd with what I think is the correct information
based on documentation and man pages.
Any input would be appreciated.
--
JE
Technical Details
Message-ID:
<alpine.DEB.2.22.394.2010101557070.2041@theuse.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <alpine.DEB.2.22.394.2010101557070.2041@theuse.net> Subject: readers.conf authentication Date: Sat, 10 Oct 2020 16:10:13 +0200 From: Jason Evans <jsevans@theuse.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: news.theuse.net Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: news.theuse.net; posting-host="localhost:127.0.0.1"; logging-data="2341"; mail-complaints-to="admin@theuse.net" User-Agent: Alpine 2.22 (DEB 394 2020-01-19)