🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by d Fri, 28 Jun 1996 00:00
Tin authentication question
#23492
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads