🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #246011

Re: [tin] Automatic Authentication with Stunnel

#246011
From: John F. Morse
Date: Fri, 24 Jun 2011 20:59
77 lines
4023 bytes
Hi Urs
> In <iu2hn0$bvk$1@n102.xanadu-bbs.net>, John F. Morse wrote:
>   
>> I use tin from time to time. I was using it to access a non-SSL/TLS 
>> server, but using authentication (tin -rA).
>>
>> IIRC, I didn't need to enter my username and password because it was in 
>> the ~/.tin/.newsauth file.
>>     
>
> tin(5)
> |   ${TIN_HOMEDIR:-"$HOME"}/.newsauth
> |        "nntpserver password [user]" pairs for NNTP servers that require
> |        authorization. If the password contains a space or a tab it must
> [...]
>
> so that's ~/.newsauth not ~/.tin/.newsauth if $TIN_HOMEDIR is unset
> ($TIN_HOMEDIR changes the path to the .tin-dir):
> tin(1)
>     TIN_HOMEDIR
>          Define  this  variable  if you do not want the .tin directory in
>          $HOME/. E.g., if you want all tin's private files  in /tmp/.tin
>          you would set $TIN_HOMEDIR to /tmp.
>   


I did not find that in any config or rc file, so I'm guessing it is a 
compile-time option. I'm using Debian and Ubuntu APT package installs.

It did the trick though (mv ~/.tin/.newsauth ..).

The old server's .newsauth was still in the ~/ directory. I suspect I 
was just blind or read that too fast. Many thanks.

Also needed chmod 400 ~/.newsauth to get rid of the nag.

My concern was or is the ~/ directory gets loaded down with various run 
control (i.e. newsrc etc.) files from tin, slrn, nn, Pan, and who knows 
what else. Can't keep them straight.

My attempt was to put each newsreaders' run control and other associated 
files within a directory bearing that program's name.

I also cannot locate where I can configure for a different editor, like 
nano, gedit, etc., so that too must be a compile-time option.


>> localhost password username
>> localhost.FQDN password username
>> server password username
>> server.FQDN password username
>>
>> Any help would be appreciated.
>>     
>
> if you use something like "tin -g localhost" (or set $NNTPSERVER to
> localhost) the first one should suffice (if the server expects auth
> but dosn't ask for it you might also need -A).
>
> HTH,
> urs
>   

Commented out the second through fourth lines, and it works fine when 
launched with the -A option. Meaning simply with "tin -rA" and no -g option.

However the -g makes it very easy to access one of my other servers, 
including adding the -p when necessary (three transit servers listen on 
433, but still run nnrpd).

I also like "tin -rAz" and "tin -rAZv" for a fast check.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <iu2tqk$f5s$1@n102.xanadu-bbs.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.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <iu2hn0$bvk$1@n102.xanadu-bbs.net> <iu2kad$f7v$1@news2.rz.uni-karlsruhe.de>

Show Full Headers
Complete Article Headers
Message-ID: <iu2tqk$f5s$1@n102.xanadu-bbs.net>
Subject: Re: [tin] Automatic Authentication with Stunnel
Date: Fri, 24 Jun 2011 15:59:00 -0500
From: "John F. Morse" <john@example.invalid>
References: <iu2hn0$bvk$1@n102.xanadu-bbs.net> <iu2kad$f7v$1@news2.rz.uni-karlsruhe.de>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Xanadu BBS
Lines: 77
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: n102.xanadu-bbs.net 1308949140 15548 192.168.89.210 (24 Jun 2011
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Fri, 24 Jun 2011 20:59:00 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <iu2kad$f7v$1@news2.rz.uni-karlsruhe.de>
X-Enigmail-Version: 0.96.0