Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2002 06:59:23 -0700
From:      Cy Schubert - CITS Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        "Vladislav V. Zhuk" <admin@dru.dn.ua>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Big troubles with WHO !!! 
Message-ID:  <200204291359.g3TDxNVa011525@cwsys.cwsent.com>
In-Reply-To: Message from "Vladislav V. Zhuk" <admin@dru.dn.ua>  of "Mon, 29 Apr 2002 16:35:58 %2B0300." <20020429133558.GA2472@dru.dn.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20020429133558.GA2472@dru.dn.ua>, "Vladislav V. Zhuk" =

writes:
> Hi!
> =

> The who(1) utility sometimes don't display some logged users.
> =

> For example, user "test" logged to system now:
> =

> > who
> admin            ttyv1   29 =C1=D0=D2 15:51
> admin            ttyv2   29 =C1=D0=D2 15:54
> admin            ttyv3   29 =C1=D0=D2 15:54
> admin            ttyv4   29 =C1=D0=D2 15:56
> admin            ttyv6   29 =C1=D0=D2 15:58
> admin            ttyv7   29 =C1=D0=D2 15:52
> vesko            ttydb   29 =C1=D0=D2 15:51   (:PPP)
> mirosedi         ttydl   29 =C1=D0=D2 16:05   (:PPP)
> admin            ttyp0   29 =C1=D0=D2 15:54   (:ttyv9:S.1)
> admin            ttyp1   29 =C1=D0=D2 15:54   (:ttyv9:S.2)
> =

> # last test
> test             ttydk    :PPP             =D0=CE 29 =C1=D0=D2 16:01   =
still logged in
> test             ttydi    :PPP             =D0=CE 29 =C1=D0=D2 15:02 - =
15:04  (00:02)
> test             ttydh    :PPP             =D0=CE 29 =C1=D0=D2 15:01 - =
15:01  (00:00)
> test             ttydk    :PPP             =D0=CE 29 =C1=D0=D2 13:30 - =
14:14  (00:44)
> test             ttydl    :PPP             =D0=CE 29 =C1=D0=D2 13:17 - =
13:26  (00:09)
> test             ttydm    :PPP             =D0=CE 29 =C1=D0=D2 11:04 - =
13:15  (02:11)
> test             ttydl    :PPP             =D0=CE 29 =C1=D0=D2 10:00 - =
10:48  (00:48)
> =

> This problem appeared after my last cvsup/buildworld
> Fri Apr 26 16:15:52 EEST 2002
> =

> What I must do for fix this??

This indicates that an application is writing to wtmp but not utmp, or =

when users log out an application is cleaning up after itself in utmp =

but not in wtmp.  To prove either of these theories, you need to verify =

your who and last output with ps.



Cheers,                          Phone:  250-387-8437
Cy Schubert                        Fax:  250-387-5766
Team Leader, Sun/Alpha Team      Email:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, CITS
Ministry of Management Services
Province of BC            =

                    FreeBSD UNIX:  cy@FreeBSD.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204291359.g3TDxNVa011525>