🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #23492

Tin authentication question

#23492
From: d
Date: Fri, 28 Jun 1996 00:00
26 lines
1677 bytes
Under the unix (OSF/1 v3.2) flavor of tin 1.2pl2 or 1.3beta, is there
an easy way to have tin send a different username for authentication
than your login name?

My login name is different from my other NNTP server's username, so the
tin's method of using a .newsauth file with only the servername
and the password would not work for me.

I tried the obvious, setting the USER, LOGNAME, USERNAME environment
variables, but that didn't work.

I'm not enough of a unix programmer to follow exactly how tin decides
what your username is, but I was able to hack the source code and
hardcode my server's username into the authentication routines.

It's not a very satisfactory solution, though, since I would need
a separate binary for each NNTP server I might use, each differing
from the other by less than 20 characters of the source code. 

So, is there a simple way of 'forcing' tin 1.2pl2 to use a different
authentication name, without me recompiling the code?

Thanks
dean

Technical Details
Message-ID: <31D469B1.167E@anon.penet.fi>
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

Show Full Headers
Complete Article Headers
Message-ID: <31D469B1.167E@anon.penet.fi>
Subject: Tin authentication question
Date: Fri, 28 Jun 1996 00:00:00 +0000
From: d <an91463@anon.penet.fi>
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: 162684104
Sender: news@news.hawaii.edu
X-nntp-posting-host: uhhepk.phys.hawaii.edu
Content-type: text/plain; charset=us-ascii
Organization: University of Hawaii
Mime-version: 1.0
Newsgroups: news.software.readers
X-mailer: Mozilla 2.02 (X11; I; OSF1 V3.2 alpha)