Thread View: news.software.nntp
8 messages
8 total messages
Started by joe
Thu, 30 Sep 1999 00:00
Authenticating Users via nnrp.access
Author: joe
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
14 lines
1244 bytes
1244 bytes
I am looking for some pointers regarding user authentication and accessing a news server. I'm running NetBSD 1.4.1 / INN 2.2 - I have been able to get nnrp.access to work with a username/password, however, I do not want to hand edit this file everytime I have a new user to requires authentication. I'm looking at authenticating 2k to 3k users over a very short period of time. Other than writing my own "add nntp user" script, what are my options? TIA (yes, I took a peek at rfc977 and rfc850) -- Joe Bishop (joe@qnx.com)
Re: Authenticating Users via nnrp.access
Author: joe
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
11 lines
1081 bytes
1081 bytes
Paul Tomblin <ptomblin@xcski.com> wrote: > Do you want to use your unix users list, like from /etc/passwd? You can use > perl authentication - the supplied nnrp_auth.pl does that. No, the user will not have any other access to this machine other than NNTP. -- Joe Bishop (joe@qnx.com)
Re: Authenticating Users via nnrp.access
Author: Paul Tomblin
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
28 lines
1929 bytes
1929 bytes
In a previous article, "Kurt J. Lanza" <kjl@inforonics.com> said: >Paul Tomblin wrote: >> >> So modify the code to look in some other file, and write some sort of >> interface to drop a new name and password into that file when you want to add >> an NNTP user. I bet I could whip a web page up using mod_php3 in less than an >> hour to do that. >> > >Why bother to change the code? I was referring to the nnrp_auth.pl code, not inn code directly. The example nnrpd_auth.pl code would be useful in a case like this. >Why bother to change the code? Just write a script to change nnrp.access >directly. Mostly because if you modify a database that nnrp_auth.pl accesses, you don't have to force inn to reload any files. If you change nnrp.access, I believe you have to do an ctlinnd reload of that file. -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: Authenticating Users via nnrp.access
Author: Paul Tomblin
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
19 lines
1628 bytes
1628 bytes
In a previous article, joe@qnx.com said: >Paul Tomblin <ptomblin@xcski.com> wrote: >> Do you want to use your unix users list, like from /etc/passwd? You can use >> perl authentication - the supplied nnrp_auth.pl does that. > >No, the user will not have any other access to this machine other than NNTP. So modify the code to look in some other file, and write some sort of interface to drop a new name and password into that file when you want to add an NNTP user. I bet I could whip a web page up using mod_php3 in less than an hour to do that. -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: Authenticating Users via nnrp.access
Author: Kurt J. Lanza
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
21 lines
1668 bytes
1668 bytes
Paul Tomblin wrote: > In a previous article, joe@qnx.com said: > >Paul Tomblin <ptomblin@xcski.com> wrote: > >> Do you want to use your unix users list, like from /etc/passwd? You can use > >> perl authentication - the supplied nnrp_auth.pl does that. > > > >No, the user will not have any other access to this machine other than NNTP. > > So modify the code to look in some other file, and write some sort of > interface to drop a new name and password into that file when you want to add > an NNTP user. I bet I could whip a web page up using mod_php3 in less than an > hour to do that. > Why bother to change the code? Just write a script to change nnrp.access directly. Plus whatever user interface you need. Shazam.
Re: Authenticating Users via nnrp.access
Author: Paul Tomblin
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
17 lines
1485 bytes
1485 bytes
In a previous article, joe@qnx.com said: >I am looking for some pointers regarding user authentication and accessing >a news server. I'm running NetBSD 1.4.1 / INN 2.2 - I have been able to >get nnrp.access to work with a username/password, however, I do not want >to hand edit this file everytime I have a new user to requires authentication. Do you want to use your unix users list, like from /etc/passwd? You can use perl authentication - the supplied nnrp_auth.pl does that. -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: Authenticating Users via nnrp.access
Author: joe
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
19 lines
1488 bytes
1488 bytes
Paul Tomblin <ptomblin@piper.xcski.com> wrote: > So modify the code to look in some other file, and write some sort of > interface to drop a new name and password into that file when you want to add > an NNTP user. I bet I could whip a web page up using mod_php3 in less than an > hour to do that. This is what I was thinking of doing... but I just thought that it must have already been done before... large sites that offer $$$ NNTP service must have an easier way of handling this problem... Thanks for tip, I'll start writing my script :-) "... best code is the already written code ..." -- Joe Bishop (joe@qnx.com)
Re: Authenticating Users via nnrp.access
Author: joe
Date: Sat, 02 Oct 1999 00:00
Date: Sat, 02 Oct 1999 00:00
14 lines
1353 bytes
1353 bytes
N <niels@usenet.bakker.net> wrote: > No, nnrp.access is read by every nnrpd spawned by innd. (Incidentally, > this is also why running nnrpd in daemon mode is such a huge saving in > cpu cycles) How do you verify that nnrpd is in daemon mode? The closest thing I could find was noreader: false in inn.conf -- and the man page said that innd will fork a copy of nnrpd for all connections... -- Joe Bishop (joe@qnx.com)
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