Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* redhat 4.1 / utmp
@ 1997-01-23  5:06 dayv
  0 siblings, 0 replies; 9+ messages in thread
From: dayv @ 1997-01-23  5:06 UTC (permalink / raw)


Has anyone run into any problems with utmp not properly updating
itself and keeping users accounted for who really aren't logged in under
4.1? w was reporting 52 users logged in to my box today when there were
really only about 12 =).. any ideas?
	-dave

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
       [not found] <Pine.LNX.3.95.970123000456.1464A-100000@soul-shack.taco.net>
@ 1997-01-23  6:30 ` Richard Henderson
  1997-01-23  9:29 ` Matthew Geier
  1997-01-23 15:54 ` Erik Troan
  2 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 1997-01-23  6:30 UTC (permalink / raw)


> 	Has anyone run into any problems with utmp not properly updating
> itself and keeping users accounted for who really aren't logged in under
> 4.1? w was reporting 52 users logged in to my box today when there were
> really only about 12 =).. any ideas?

This is a general problem with stupid gnu sh-utils not using the
proper utmp access functions and just going off and reading the
thing themselves.  Things breaks when the format changes.

Give me some time to iron out some other wrinkles in the recent
glibc changes (accomodate POSIX.1b signals and a larger dev_t),
and I'll get back to you.  

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
       [not found] <Pine.LNX.3.95.970123000456.1464A-100000@soul-shack.taco.net>
  1997-01-23  6:30 ` Richard Henderson
@ 1997-01-23  9:29 ` Matthew Geier
  1997-01-23 15:54 ` Erik Troan
  2 siblings, 0 replies; 9+ messages in thread
From: Matthew Geier @ 1997-01-23  9:29 UTC (permalink / raw)


> 	Has anyone run into any problems with utmp not properly updating

 Yes.

> 4.1? w was reporting 52 users logged in to my box today when there were

 Only 52 ? :-)

-- 
Matthew Geier,                 | Australian Public Access Network Association
matthew@sleeper.apana.org.au   | +61 2 9588 4615 (Data) 9587 9773   (voice)
matthew@law.usyd.edu.au        | An APANA Sydney hub.    018 977356 (mobile)

    'There are worlds out there where the sky is burning, the seas
sleep, and the rivers dream; people made of smoke, and cities made of
song.  Somewhere there's danger, somewhere there's injustice, and somewhere
else the tea is getting cold.  Come on Ace, we've got work to do!'
                (Last words of the last Dr Who)

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
       [not found] <Pine.LNX.3.95.970123000456.1464A-100000@soul-shack.taco.net>
  1997-01-23  6:30 ` Richard Henderson
  1997-01-23  9:29 ` Matthew Geier
@ 1997-01-23 15:54 ` Erik Troan
  2 siblings, 0 replies; 9+ messages in thread
From: Erik Troan @ 1997-01-23 15:54 UTC (permalink / raw)


On Thu, 23 Jan 1997, dayv wrote:

> 	Has anyone run into any problems with utmp not properly updating
> itself and keeping users accounted for who really aren't logged in under
> 4.1? w was reporting 52 users logged in to my box today when there were
> really only about 12 =).. any ideas?

We had to modify a bunch of tools to accomodate the utmp changes in glibc. If
you can reproduce this please tell me exactly what you did.

Erik

-------------------------------------------------------------------------------
|       I told you I'm not very bright -- Sugar in "Some Like It Hot"         |
|      "RPM is the greatest thing since swap-space" - Bryan C. Andregg
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
       [not found] <Pine.LNX.3.95.970123105428.16750A-100000@lacrosse.redhat.com>
@ 1997-01-23 20:30 ` dayv
  0 siblings, 0 replies; 9+ messages in thread
From: dayv @ 1997-01-23 20:30 UTC (permalink / raw)


> We had to modify a bunch of tools to accomodate the utmp changes in glibc. If
> you can reproduce this please tell me exactly what you did.
> 
> Erik

	What I did? Nothing. here are the circumstances.. If a user logs
in (and out) with ssh from remote or local, utmp updates perfectly. If a
user logs in (and out) with telnet from localhost, utmp updates perfectly.
The problem occurs with remote telnets loging out and leaving 'ghosts' of
themselves in utmp, (finger reports a bunch of nonexistant users on, so
does users and if you type w the # of users is much larger than in
actuality.) hope this is what you wanted..
	-Dave

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
       [not found] <Pine.LNX.3.95.970123152753.9019B-100000@soul-shack.taco.net>
@ 1997-01-23 20:48 ` Erik Troan
  0 siblings, 0 replies; 9+ messages in thread
From: Erik Troan @ 1997-01-23 20:48 UTC (permalink / raw)


On Thu, 23 Jan 1997, dayv wrote:

> 	What I did? Nothing. here are the circumstances.. If a user logs
> in (and out) with ssh from remote or local, utmp updates perfectly. If a
> user logs in (and out) with telnet from localhost, utmp updates perfectly.
> The problem occurs with remote telnets loging out and leaving 'ghosts' of
> themselves in utmp, (finger reports a bunch of nonexistant users on, so
> does users and if you type w the # of users is much larger than in
> actuality.) hope this is what you wanted..

This works fine for me. How did you get this machine installed. You claim
to be running Red Hat 4.1 (which has never been released) but don't mention
how you managed that.

Erik

-------------------------------------------------------------------------------
|       I told you I'm not very bright -- Sugar in "Some Like It Hot"         |
|      "RPM is the greatest thing since swap-space" - Bryan C. Andregg
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
       [not found] <Pine.LNX.3.95.970123154758.24684A-100000@lacrosse.redhat.com>
@ 1997-01-23 21:11 ` dayv
  1997-01-23 23:18 ` Andrew D. Isaacson
  1 sibling, 0 replies; 9+ messages in thread
From: dayv @ 1997-01-23 21:11 UTC (permalink / raw)


> 
> This works fine for me. How did you get this machine installed. You claim
> to be running Red Hat 4.1 (which has never been released) but don't mention
> how you managed that.
> 
> Erik
> 
 By 4.1 i meant the build in the devel tree. my apologies.
	-dave

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
@ 1997-01-23 21:20 Mike Epstein
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Epstein @ 1997-01-23 21:20 UTC (permalink / raw)


On 1/23/97 3:48 PM, Erik Troan (ewt@redhat.com) wrote:

>On Thu, 23 Jan 1997, dayv wrote:
>
>> 	What I did? Nothing. here are the circumstances.. If a user logs
>> in (and out) with ssh from remote or local, utmp updates perfectly. If a
>> user logs in (and out) with telnet from localhost, utmp updates perfectly.
>> The problem occurs with remote telnets loging out and leaving 'ghosts' of
>> themselves in utmp, (finger reports a bunch of nonexistant users on, so
>> does users and if you type w the # of users is much larger than in
>> actuality.) hope this is what you wanted..
>
>This works fine for me. How did you get this machine installed. You claim
>to be running Red Hat 4.1 (which has never been released) but don't mention
>how you managed that.

I also have this problem. It's red hat 4.0 plus most of the update RPM's. 
It seems to have started fairly recently. Perhaps the new util-linux did 
it?

--      Mike Epstein            
    epstein@bozosoft.com        "I was very pleasantly disappointed."
   mjepst@hcs.harvard.edu                          --Samuel Goldwyn
http://www.bozosoft.com/mike/   

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: redhat 4.1 / utmp
       [not found] <Pine.LNX.3.95.970123154758.24684A-100000@lacrosse.redhat.com>
  1997-01-23 21:11 ` dayv
@ 1997-01-23 23:18 ` Andrew D. Isaacson
  1 sibling, 0 replies; 9+ messages in thread
From: Andrew D. Isaacson @ 1997-01-23 23:18 UTC (permalink / raw)


Once upon a time, Erik Troan said:
> 
> On Thu, 23 Jan 1997, dayv wrote:
> 
> > 	What I did? Nothing. here are the circumstances.. If a user logs
> > in (and out) with ssh from remote or local, utmp updates perfectly. If a
> > user logs in (and out) with telnet from localhost, utmp updates perfectly.
> > The problem occurs with remote telnets loging out and leaving 'ghosts' of
> > themselves in utmp, (finger reports a bunch of nonexistant users on, so
> > does users and if you type w the # of users is much larger than in
> > actuality.) hope this is what you wanted..
> 
> This works fine for me. How did you get this machine installed. You claim
> to be running Red Hat 4.1 (which has never been released) but don't mention
> how you managed that.

Just as a data point, I'm experiencing the same symptoms here.  When users
log out from remote hosts using rlogin or ssh (both seem to cause problems),
the utmp does not get updated correctly.  It doesn't happen on every login;
looking at the wtmp, it looks like about 50% of logins leave 'ghosts' lying
around.

I haven't noticed any problems with logins from localhost, but that could
be because nobody logs in from localhost.

My install is bog-standard RH 4.0, with most of the updates from
ftp.redhat.com:/pub/redhat/updates, and ssh 1.2.17.

-andy

-- 
Andy Isaacson <adisaacs@mtu.edu> -- conserve bandwidth, use one line sigs.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1997-01-23 23:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-23 21:20 redhat 4.1 / utmp Mike Epstein
     [not found] <Pine.LNX.3.95.970123154758.24684A-100000@lacrosse.redhat.com>
1997-01-23 21:11 ` dayv
1997-01-23 23:18 ` Andrew D. Isaacson
     [not found] <Pine.LNX.3.95.970123152753.9019B-100000@soul-shack.taco.net>
1997-01-23 20:48 ` Erik Troan
     [not found] <Pine.LNX.3.95.970123105428.16750A-100000@lacrosse.redhat.com>
1997-01-23 20:30 ` dayv
     [not found] <Pine.LNX.3.95.970123000456.1464A-100000@soul-shack.taco.net>
1997-01-23  6:30 ` Richard Henderson
1997-01-23  9:29 ` Matthew Geier
1997-01-23 15:54 ` Erik Troan
  -- strict thread matches above, loose matches on Subject: below --
1997-01-23  5:06 dayv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox