Thread View: news.software.readers
4 messages
4 total messages
Started by Fuzzy
Thu, 23 May 1996 00:00
TIN 1.3.950824beta wrong userid is used to post articles
Author: Fuzzy
Date: Thu, 23 May 1996 00:00
Date: Thu, 23 May 1996 00:00
69 lines
2794 bytes
2794 bytes
BUG REPORT tin 1.3 950824BETA PL0 [UNIX]
-----BEGIN PGP SIGNED MESSAGE-----
BOX1: Linux ASARian 1.2.13 #4 Mon Nov 6 17:43:14 EST 1995 i386
CFG1: active=1800 arts=1200 reread=300 longfilenames=1 setuid=0
CFG2: nntp=1 nntp_only=0 nntp_xover=0
CFG3: debug=0 gateway=[] domain=[/etc/NNTP_INEWS_DOMAIN]
Please enter bug report/gripe/comment:
we are having a problem with users who are telneted to our box and
using tin -r to connect to NNTP/NNRP server elsewhere.
the symptoms are...
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.
is there someplace in .tin/tinrc to customize userid to be used for
posters name? or is there a fix so it uses the userid thats logged in.
since we are an anon site, having this happen is a big problem for our
users.
we are running linux 1.2.13 kernal w/ ELF patch, slackware 3.0.0 (ELF),
/lib/libc.so.5 -> libc.so.5.3.12*
- -rwxr-xr-x 1 bin bin 583795 Apr 25 01:15 /lib/libc.so.5.3.12*
/lib/libm.so.5 -> libm.so.5.0.6*
- -rwxr-xr-x 1 bin bin 36156 Apr 25 01:15 /lib/libm.so.5.0.6*
ASARian:/root# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.0/specs
gcc version 2.7.0
ASARian:/root# file `which \tin`
/usr/local/bin/tin: ELF 32-bit LSB executable i386 (386 and up) Version 1
rtin 1.3 950824BETA PL0 [UNIX] (c) Copyright 1991-94 Iain Lea.
Reading config file...
Version: 1.3 950824BETA PL0 Mar 5 1996 14:59:04
thanks in advance...
Fuzzy
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Fuzzy <fuzzy@ASARian.org>
iQCVAwUBMaPQTr81DsWbcCglAQGQAQP8D+jhUL4QjZJ79+8e5Wy5GZ2PcXMYAeAE
rXJ45C3kIWJqeuC7KsxMBOOg2XPHlHLmfAkdctEpNEBod1RmFTnVzKqtrH+EfxsU
rSQn/TEldLECPLDBDjmvgkpvWc0602fGhhvqXGkm3j5MfNNLsOld5zhInRgfYrxh
KlPlxV7GWJs=
=K4ft
-----END PGP SIGNATURE-----
--
Re: TIN 1.3.950824beta wrong userid is used to post articles
Author: Terry Kennedy, Operations Mgr.
Date: Fri, 24 May 1996 00:00
Date: Fri, 24 May 1996 00:00
25 lines
1903 bytes
1903 bytes
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.
Hi, Fuzzy! Terry from New York Net here...
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.
Terry Kennedy Operations Manager, Academic Computing
terry@spcvxa.spc.edu St. Peter's College, Jersey City, NJ USA
+1 201 915 9381 (voice) +1 201 435-3662 (FAX)
Re: TIN 1.3.950824beta wrong userid is used to post articles
Author: Heikki Kantola
Date: Sat, 25 May 1996 00:00
Date: Sat, 25 May 1996 00:00
36 lines
2544 bytes
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.
Re: TIN 1.3.950824beta wrong userid is used to post articles
Author: billy
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
16 lines
1221 bytes
1221 bytes
Heikki Kantola <hkantola@cc.Helsinki.FI> writes: > 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 [...] Well, I see this in init.c but then looking in inews.c where the posting is actually done (if tin is in fact posting the articles, as opposed to passing them to an external inews) it looks to me like tin just reads in the USER variable and uses that..? Billy Y..
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