🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47027

Re: Knews: how to authenticate to NNTP server?

#47027
From: Jeroen Scheerder
Date: Wed, 03 Mar 1999 00:00
36 lines
2231 bytes
Mike <mjord@earthlink.nospam.net>:

> [Knews] it works, I think, except my news server requires me to login with
> username and password. Anyone know how I can do this?

In your home dir, there should be a `.knews' directory containing config
files for all the servers you're using -- if your using news.nospam.net,
that would probably be ~/.knews/config-news.nospam.net.

Edit that file, and add the lines

authInfoPass:       <yerpasswrd>
authInfoUser:       <yerusername>

Maybe you can omit the `pass' entry; you might get an authentication
dialog.  I don't recall (but it would be easy to add that behaviour, if
you want it to).

If your news authentication happens to be identical to your regular Unix
user authentication, you may want to be *very* cautious with this -- by
all means, chmod 700 .knews, and chmod 600 .knews/config-*.  And even
then, you might want to use a "wrapper" that allows you to keep the file
pgp-crypted, and that decrypts it only when running knews, removing it
immediately when done.  Plaintext passwords in files are not a good
thing.


-- J$
ps;
    I would probably have mailed you about this, if it would have been 
    more likely that you were using a valid and correct address.
-- 
dash dash space
this is my .sig                                         it's not so .big

Technical Details
Message-ID: <1do37sh.14nq62knmn3mN@medusa.cwi.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <36deabc5.516492@news.earthlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <1do37sh.14nq62knmn3mN@medusa.cwi.nl>
Subject: Re: Knews: how to authenticate to NNTP server?
Date: Wed, 03 Mar 1999 00:00:00 +0000
From: js@cwi.nl (Jeroen Scheerder)
References: <36deabc5.516492@news.earthlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 450703736
X-NNTP-Posting-Host: 5dyn229.utr.casema.net [212.64.11.229]
Sender: js@5dyn229.utr.casema.net
Mail-Copies-To: nobody
X-XS4ALL-Date: Wed, 03 Mar 1999 11:24:05 CET
X-XS4ALL-User: js
X-Face: (u%,<Ek_K4]BW;*pmlV&,Ev+p0W0hHt,PZs7\2OV%HhTE5\$\MU79J|bQB_m3G"n ,Mz'Pb6*(Z~Wr\GkY`X<!RfA0%7R
Organization: Al-Munqidh min-al-Dalaal
User-Agent: MacSOUP/2.4
Newsgroups: news.software.readers