🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #11841

Re: Wrong user name in trn?

#11841
From: 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

Technical Details
Message-ID: <37ch12$k2p@hopi.dtcc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.m88k.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!udel!hopi.dtcc.edu!hopi.dtcc.edu!not-for-mail
References: <CxA4un.FFx@presby.edu> <CxGHGo.D67@presby.edu>

Show Full Headers
Complete Article Headers
Message-ID: <37ch12$k2p@hopi.dtcc.edu>
Subject: Re: Wrong user name in trn?
Date: Mon, 10 Oct 1994 22:59:46 +0000
From: weave@hopi.dtcc.edu (Ken Weaverling)
References: <CxA4un.FFx@presby.edu> <CxGHGo.D67@presby.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.m88k.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!udel!hopi.dtcc.edu!hopi.dtcc.edu!not-for-mail
Newsgroups: news.software.readers,comp.sys.m88k
Organization: Delaware Technical & Community College
Lines: 22
NNTP-Posting-Host: hopi.dtcc.edu