How do I configure INN2 to require authentication for all readers
(including origin localhost)? I would like to get that taken care of
first so I can open up a firewall port and test it out. Figuring out my
front end for signups although important, can come later.
Hi,
G.K. a écrit :
How do I configure INN2 to require authentication for all readers
(including origin localhost)? I would like to get that taken care of
first so I can open up a firewall port and test it out. Figuring out my
front end for signups although important, can come later.
The official doc is here but it not give a simple example : <https://www.eyrie.org/~eagle/software/inn/docs-2.7/readers.conf.html>
For my server I have followed this french documentation which give a simple example : <https://git.alphanet.ch/gitweb/?p=inn-install;a=blob_plain;f=README.html;hb=HEAD#le-fichier-readers.conf>
On 7/24/22 00:51, yamo' wrote:
G.K. a écrit :
How do I configure INN2 to require authentication for all readers
(including origin localhost)? I would like to get that taken care of
first so I can open up a firewall port and test it out. Figuring out my
front end for signups although important, can come later.
The official doc is here but it not give a simple example :
<https://www.eyrie.org/~eagle/software/inn/docs-2.7/readers.conf.html>
For my server I have followed this french documentation which give a simple >> example :
<https://git.alphanet.ch/gitweb/?p=inn-install;a=blob_plain;f=README.html;hb=HEAD#le-fichier-readers.conf>
Thank you. This is helpful. Would you mind if I publish my English translation of your document once I clean it up?
I managed to get INN2 installed and working locally. The Debian/Ubuntu package is broken and would not install so I had to troubleshoot. No joy.
How do I enable username/password authentication for all readers? What
config option in inn.conf or readers.conf or whatever will make it so:
Every reader, local or remote, must enter a username and password in
their reader software to post anything to any group, ever.
Are there already any scripted solutions for allowing people to sign up
for credentials through a web or CLI interface?
Is it possible to confine authentication data to INN without creating
unix user accounts? If so lay that out.
--
G.K.
I managed to get INN2 installed and working locally. The Debian/Ubuntu package is broken and would not install so I had to troubleshoot. No joy.
How do I enable username/password authentication for all readers? What
config option in inn.conf or readers.conf or whatever will make it so:
Every reader, local or remote, must enter a username and password in
their reader software to post anything to any group, ever.
Are there already any scripted solutions for allowing people to sign up
for credentials through a web or CLI interface?
Is it possible to confine authentication data to INN without creating
unix user accounts? If so lay that out.
--
G.K.
Thank you. This is helpful. Would you mind if I publish my English
translation of your document once I clean it up?
This documentation is absolutely open source.
It has been done by several people.
I managed to get INN2 installed and working locally. The Debian/Ubuntu package is broken and would not install so I had to troubleshoot. No joy.
How do I enable username/password authentication for all readers? What
config option in inn.conf or readers.conf or whatever will make it so:
Every reader, local or remote, must enter a username and password in
their reader software to post anything to any group, ever.
Hi G.K.,
I managed to get INN2 installed and working locally. The Debian/Ubuntu
package is broken and would not install so I had to troubleshoot. No joy.
What problems did you encounter with the Debian/Ubuntu package? Did you open a bug report for it?
How do I enable username/password authentication for all readers? What
config option in inn.conf or readers.conf or whatever will make it so:
Every reader, local or remote, must enter a username and password in
their reader software to post anything to any group, ever.
Stéphane gave you links to achieve that in this thread.
Could you please tell what should be improved in the first section of
the readers.conf man page ("IN A NUTSHELL")? It should normally have answered your question, but apparently isn't still clear enough.
would be glad to improve it: what is missing or should be better
explained in that first section of the man page?
https://www.eyrie.org/~eagle/software/inn/docs/readers.conf.html
It also refers to the documentation of the -f flag of ckpasswd to
generate password hashes:
https://www.eyrie.org/~eagle/software/inn/docs/ckpasswd.html
Debian does not fully install the package and exits with unintelligible errors which I failed to copypasta and forgot about after tinkering with other things.
Here is systemd output directly after install:
$ sudo journalctl -u inn2
Jul 20 10:55:36 dev innd[31138]: dbz: bad first line in .dir history file
Jul 20 10:55:36 dev innd[31138]: dbzinit: getconf failure
Jul 20 10:55:36 dev innd[31138]: can't dbzinit /var/lib/news/history Numerical argument out of domain
Jul 20 10:55:36 dev innd[31138]: dbzclose: not opened!
Jul 20 10:55:36 dev innd[31138]: can't dbzclose /var/lib/news/history Numerical argument out of domain
Jul 20 10:55:36 dev innd[31138]: SERVER can't open history /var/lib/news/history: Numerical argument out of domain
I would suggest a few shell commands cobbled together to check the
database, history, file permissions, etc. and other stuff that would
stop the server upon a botched install, and push it to the package maintainer.
Hi G.K.,
Debian does not fully install the package and exits with
unintelligible errors which I failed to copypasta and forgot about
after tinkering with other things.
Here is systemd output directly after install:
$ sudo journalctl -u inn2
Jul 20 10:55:36 dev innd[31138]: dbz: bad first line in .dir history file
Jul 20 10:55:36 dev innd[31138]: dbzinit: getconf failure
Jul 20 10:55:36 dev innd[31138]: can't dbzinit /var/lib/news/history
Numerical argument out of domain
Jul 20 10:55:36 dev innd[31138]: dbzclose: not opened!
Jul 20 10:55:36 dev innd[31138]: can't dbzclose /var/lib/news/history
Numerical argument out of domain
Jul 20 10:55:36 dev innd[31138]: SERVER can't open history
/var/lib/news/history: Numerical argument out of domain
Oh, that's strange. It seems that the history file already existed.
Did you install inn before, and then inn2 without purging the installed
files by INN 1.7.2?
It would explain why the inn2 package didn't install a fresh empty
history file in the inn2 format.
I would suggest a few shell commands cobbled together to check the
database, history, file permissions, etc. and other stuff that would
stop the server upon a botched install, and push it to the package
maintainer.
There's the inncheck program for that :-)
Maybe the inn2 package should check before beginning its installation
that the history file is not in the 1.7.2 format? (or any other check showing that there is a conflict with old files from the inn package not purged)
... or remove the inn package from Debian ^^
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 16:18:16 |
Calls: | 10,389 |
Files: | 14,061 |
Messages: | 6,416,939 |