Article View: news.software.nntp
Article #89671Re: Authenticating BBS users
From: Nigel Reed
Date: Fri, 30 Sep 2022 09:15
Date: Fri, 30 Sep 2022 09:15
40 lines
2171 bytes
2171 bytes
On Thu, 29 Sep 2022 18:10:20 -0700 Russ Allbery <eagle@eyrie.org> wrote: > Nigel Reed <sysop@endofthelinebbs.com> writes: > > > The other is some sort of auth script that checks the users entered > > username & password against the BBS database which can then provide > > a yes/no as to whether they should be allowed in. > > I would do this, but then I've written tons of scripts like this so > it's fairly easy for me. The protocol is documented in EXAMPLES in > ckpasswd. If you specify a program with the auth: key in the auth > block of readers.conf, it is run when the user authenticates and gets: > > ClientAuthname: <username> > ClientPassword: <password> > > on standard input. It should print: > > User: <username> > > and exit with status 0 on successful authentication, and print some > error message and exit with non-zero status > > The program can then do whatever you want, such as reach out to your > BBS system to check the username and password. Thank you. Sounds like every I need right there. I'll take a look at the examples. I can write a program to listen to encrypted auth requests on the BBS side easily enough so I think I'm good. Thanks, -- End Of The Line BBS - Plano, TX telnet endofthelinebbs.com 23
Technical Details
Message-ID:
<20220930041540.5793db2c@wibble.sysadmininc.com>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-mailReferences:
<20220929150152.2fbdbe5e@wibble.sysadmininc.com> <87tu4pwttv.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <20220930041540.5793db2c@wibble.sysadmininc.com> Subject: Re: Authenticating BBS users Date: Fri, 30 Sep 2022 04:15:40 -0500 From: Nigel Reed <sysop@endofthelinebbs.com> References: <20220929150152.2fbdbe5e@wibble.sysadmininc.com> <87tu4pwttv.fsf@hope.eyrie.org> 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: End Of The Line BBS Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: www.sysadmininc.com; posting-host="47.186.43.57"; logging-data="1362298"; mail-complaints-to="usenet@www.sysadmininc.com" X-Newsreader: Claws Mail 4.0.0git423 (GTK 3.24.20; x86_64-pc-linux-gnu)