🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #240600

Re: [tin] how to authenticate NNTP server?

#240600
From: babel
Date: Thu, 29 Apr 2010 07:40
60 lines
2630 bytes
On 29-04-2010, Keith <kilowattradio@use-reply-to.invalid> wrote:
> On 29 Apr 2010 02:56:12 +0200, babel@googlemail.com wrote:
>
>>Hi
>>Trying to get tin up and running. slrn works on my NNTP server, but despite
>>having a ~/.newsauth in the exact configuration required by man (5) tin, I
>>can't read news with that reader.  
>>
>>When I run.. 
>>
>>tin -r -q -Q
>>
>>... tin asks me for my password - or rather, presents me with my password
>>and I press ENTER.  It then asks me for my password, but this field is
>>empty.  
>
> It should not present you with any prompts at all. Is .newsauth
> in your $HOME directory?

Yep...

ls -alh $HOME/.newsauth 
-rw------- 1 me metoo 33 2010-04-29 03:43 .newsauth

> ls -lah $HOME/.newsauth
> or
> ls -lah ~/.newsauth
>
> who is the owner if that file exists?

Me.  Permissions are 0600.

> if you have:
>
> news.newsserver.com   mypassword   myusername@domain.com
>
> in .newsauth it should work.

I do have that, but it doesn't work.  I'm tearing my hair out here...

> Make sure that the file is readable by the TIN user: 
>
> chmod 400 .newsauth

Tried that, no luck.

> cat ~/.newsauth
> should display the contents.

news.server.com gobbledeygook me@somewhere.com

> Make sure that you have no other characters in .newsauth like tabs or high
> ascii characters. Don't use copy & paste, type in the entire line with a
> carriage return.

I thought it might be something to do with a typo or whatever, but I copied
and pasted the strings _directly_ from the 'nnrpaccess' in my .slrnrc, and
that works perfectly.  

:(
Technical Details
Message-ID: <4bd937fb$1@news.x-privat.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!x-privat.org!not-for-mail
References: <4bd8d92c$1@news.x-privat.org> <hrb5h002661@news3.newsguy.com>

Show Full Headers
Complete Article Headers
Message-ID: <4bd937fb$1@news.x-privat.org>
Subject: Re: [tin] how to authenticate NNTP server?
Date: Thu, 29 Apr 2010 07:40:43 +0000
From: babel@googlemail.com
References: <4bd8d92c$1@news.x-privat.org> <hrb5h002661@news3.newsguy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!x-privat.org!not-for-mail
Newsgroups: news.software.readers
Mail-Copies-To: nobody
User-Agent: slrn/pre1.0.0-11 (Linux)
NNTP-Posting-Host: $$_ewfilersdzq.news.x-privat.org
Organization: X-Privat.Org NNTP Server - http://www.x-privat.org
Lines: 60
X-Authenticated-User: $$h1_o_u1rnnb9cl$bayv
X-Complaints-To: abuse@x-privat.org
X-Original-Bytes: 2415