🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22058

Re: TIN 1.3.950824beta wrong userid is used to post articles

#22058
From: Heikki Kantola
Date: Sat, 25 May 1996 00:00
36 lines
2544 bytes
Terry Kennedy, Operations Mgr. <terry@spcvxb.spc.edu> provided the following
for the eyes of news.software.readers:
>In article <4o2801$1mv@ASARian.org>, fuzzy@ASARian.org (Fuzzy) writes:
>> telnet a@some.domain telnets to us and logs in as good@asarian.org. then
>> they run tin -r connecting to news.someother.domain with NNTP. good then
>> tries to post (new thread, if that matters), and after its actually
>> available we see the post as having been posted by a@asarian.org (thats
>> the source userid with our domain name). this of course being a
>> non-existent userid on our system, makes it impossible to reply to the
>> posting, as email to a@asarain.org bounces no userid.
>
>  This almost has to be something in your OS, not TIN - TIN shouldn't know
>anything about the originating userid, only the local one. You probably
>don't want to allow users to set this, as it's possible to make errors or
>induce forgeries.
>
>  What does your system say if you try "w", "who", "whoami" and "last"? It
>sounds like your system is putting the remote user ID in the utmp file.

Actually it's also partially tin's fault too, I'm told it uses getlogin() to
dig up the user info, but that stupid function happens to give quite random
results on many UNIX variants (especially IRIX seems to be notorious for
that, although also other OSs (atleast HP-UX and digital UNIX) do that more
or less often), so the best option would be if tin (and other getlogin() 
using programs) would be changed to use some other more accurate function(s)
to determine the username.

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.


Technical Details
Message-ID: <slrn44qduo1.rvg.hkantola@vesuri.Helsinki.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
References: <4o2801$1mv@ASARian.org> <1996May24.023044.1@spcvxb.spc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn44qduo1.rvg.hkantola@vesuri.Helsinki.FI>
Subject: Re: TIN 1.3.950824beta wrong userid is used to post articles
Date: Sat, 25 May 1996 00:00:00 +0000
From: hkantola@cc.Helsinki.FI (Heikki Kantola)
References: <4o2801$1mv@ASARian.org> <1996May24.023044.1@spcvxb.spc.edu>
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: 156798659
Content-type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Mime-version: 1.0
Newsgroups: news.software.readers