🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Jon Bell Fri, 07 Oct 1994 01:44
Wrong user name in trn?
#11762
Author: Jon Bell
Date: Fri, 07 Oct 1994 01:44
19 lines
1408 bytes
Today, one of our trn users informed me that the "From:" line in his 
articles no longer contains his own name, but rather the name of one of 
the other users on our system.  He hasn't done anything (as far as he 
knows) that would have caused this.  The information in /etc/passwd 
appears to be OK for both users.  He's not setting the NAME variable in 
his .profile, nor does he have a .fullname file.

His name appears properly in e-mail messages.

The problem appears to have started very recently.  I've found older 
articles from him that have the correct name.

What could be causing this mixup?  We're running trn 3.5 under DG/UX 
5.4.2.  

-- 
Jon Bell <jtbell@presby.edu>                        Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA
Re: Wrong user name in trn?
#11806
Author: Wayne Davison
Date: Sat, 08 Oct 1994 19:53
10 lines
1026 bytes
According to Jon Bell <jtbell@presby.edu>:
> Today, one of our trn users informed me that the "From:" line in his 
> articles no longer contains his own name, but rather the name of one of 
> the other users on our system.

The From: line is the domain of inews -- did anyone change inews lately?
-- 
Wayne Davison
davison@borland.com
Re: Wrong user name in trn?
#11805
Author: Roman Czyborra
Date: Sun, 09 Oct 1994 14:40
9 lines
1374 bytes
> > Today, one of our trn users informed me that the "From:" line in
> > his articles no longer contains his own name, but rather the name
> > of one of the other users on our system.

Did he mess with chfn, LOGNAME, NAME, .fullname, or TRNINIT?

> The From: line is the domain of inews

Don't all versions of inews simply pass the From: you feed it?
Re: Wrong user name in trn?
#11818
Author: Wayne Davison
Date: Sun, 09 Oct 1994 21:17
10 lines
1147 bytes
According to Roman Czyborra  <czyborra@cs.tu-berlin.de>:
> Don't all versions of inews simply pass the From: you feed it?

Inews honors a pre-existing From line, but trn doesn't generate one -- it's
not trn's job to do so.  You can configure your own headers (see NEWSHEADER)
to force your own From line, but the default is to allow the sysadmin to
configure the From line in one place (inews) and leave it alone.
-- 
Wayne Davison
davison@borland.com
Re: Wrong user name in trn?
#11817
Author: Michel BILLAUD
Date: Sun, 09 Oct 1994 22:54
26 lines
1788 bytes
Wayne Davison (davison@borland.com) wrote:
: According to Jon Bell <jtbell@presby.edu>:
: > Today, one of our trn users informed me that the "From:" line in his 
: > articles no longer contains his own name, but rather the name of one of 
: > the other users on our system.

We had a similar problem on our Telmat machine (also a 88110 based machine,
running Unix system V from ATT/motorola ?),
after we upgraded the os to a more recent version:
we opened terrified eyes when we discovered
a line in the sulog file showing that a student had successfully attempted
to become 'root'.

This appears to come from a garbled wtmp (or utmp, cant remember) file.
The "w" command showed the same tty (or pty ?) associated to two different 
users, one was the presumed guilty student , the other one a regular 
administrator...

M Billaud






Re: Wrong user name in trn?
#11829
Author: Jon Bell
Date: Mon, 10 Oct 1994 12:02
15 lines
1383 bytes
In article <CxA4un.FFx@presby.edu>, Jon Bell <jtbell@presby.edu> wrote:
>Today, one of our trn users informed me that the "From:" line in his 
>articles no longer contains his own name, but rather the name of one of 
>the other users on our system.  

It turned out that the "bogus" name belonged to a user who appeared in 
the "who" command as having been logged in for a couple of days, even 
though the "ps" command showed no processes at all under his user ID.  
A couple of people suggested that utmp might have gotten screwed up.  
Rebooting the system seems to have fixed it.

-- 
Jon Bell <jtbell@presby.edu>                        Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA
Re: Wrong user name in trn?
#11833
Author: Steven King, Software Archaeolog...
Date: Mon, 10 Oct 1994 18:29
29 lines
2120 bytes
jtbell@presby.edu (Jon Bell) publicly declared:

>Today, one of our trn users informed me that the "From:" line in his
>articles no longer contains his own name, but rather the name of one
>of the other users on our system.  He hasn't done anything (as far as
>he knows) that would have caused this.  The information in /etc/passwd
>appears to be OK for both users.  He's not setting the NAME variable in
>his .profile, nor does he have a .fullname file.
>
>His name appears properly in e-mail messages.
>
>The problem appears to have started very recently.  I've found older
>articles from him that have the correct name.

Dollars to doughnuts he copied someone else's .trninit file or TRNINIT
environment variable.  Betcha that other person specified their full
name in there with a "-ENAME=Joe User" line.

Slap his wrist, and remind him of Rule Number One: "Never copy anyone
else's configuration without reading and understanding it yourself!"  I
learned this one the hard way many years ago when I worked the student
help desk at college.

-- 
----------------------------------------------<Steven King, king@cig.mot.com>--
Vengeance is counter-productive.  Not to mention the fact that it gets your
soul all sticky.
                                                                   (Lady Sally)
Re: Wrong user name in trn?
#11841
Author: Ken Weaverling
Date: Mon, 10 Oct 1994 22:59
23 lines
1586 bytes
In article <CxGHGo.D67@presby.edu>, Jon Bell <jtbell@presby.edu> wrote:

>It turned out that the "bogus" name belonged to a user who appeared in 
>the "who" command as having been logged in for a couple of days...

Happens. You can do this yourself by sending a SIGKILL to your telnetd 
for example. Any process that managed ran login for you has the 
responsibility for cleaning up utmp when you log out. 

>A couple of people suggested that utmp might have gotten screwed up.  
>Rebooting the system seems to have fixed it.

Overkill. Try the following (works on a DG/UX which I assume you have):

/usr/lib/acct/fwtmp < /etc/utmp > /tmp/utmp
vi /tmp/utmp           # Find bogus entry, delete it
/usr/lib/acct/fwtmp -ic < /tmp/utmp > /etc/utmp
rm /tmp/utmp

-- 
Ken Weaverling          weave@dtcc.edu |*| My opinions .NEQ. college's position

Re: Wrong user name in trn?
#11990
Author: Bill Stewart +1-510-484-6204
Date: Wed, 19 Oct 1994 00:47
22 lines
2139 bytes
In article <37c16u$a59@delphinium.cig.mot.com> king@wildebeest.cig.mot.com (Steven King, Software Archaeologist) writes:
   >Today, one of our trn users informed me that the "From:" line in his
   >articles no longer contains his own name, but rather the name of one
   >of the other users on our system.  He hasn't done anything (as far as
   >he knows) that would have caused this.  The information in /etc/passwd
   >appears to be OK for both users.  He's not setting the NAME variable in
   >his .profile, nor does he have a .fullname file.

   Dollars to doughnuts he copied someone else's .trninit file or TRNINIT
   environment variable.  Betcha that other person specified their full
   name in there with a "-ENAME=Joe User" line.

You're probably right in this case, but sometimes odd things can happen.
I was once debugging sendmail.cf files on my system, having logged in
as myself and su'd to root.  It picked up my NAME variable, so
any outgoing mail from the machine claimed to be from me until we
noticed it...
--
# Bill Stewart       AT&T Global Information Solutions (new name for NCR!)
# 6870 Koll Center Pkwy, Pleasanton CA 94566  1-510-484-6204 fax-6399
# Email: bill.stewart@pleasantonca.ncr.com billstewart@attmail.com
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