Date: Thu, 16 Dec 2004 16:55:29 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz> To: freebsd@orchid.homeunix.org Cc: freebsd-questions@freebsd.org Subject: Re: user disappears from w and who Message-ID: <41C21261.3040201@daleco.biz> In-Reply-To: <41C1F187.1000903@orchid.homeunix.org> References: <c24ebf7704121608042925212c@mail.gmail.com> <41C1D214.6080605@orchid.homeunix.org> <6.1.1.1.2.20041216150800.0c54d358@pop.gmail.com> <41C1F187.1000903@orchid.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Karol Kwiatkowski wrote:
>Brandon Lodriguss wrote:
>
>
>>It seems like utmp/wtmp is getting updated when the user logs out of the
>>second shell, then it ignores the fact that the user is still logged in to
>>the original shell.
>>
>>
>
>I've got curious and investigated a bit. It looks like when user logs
>in the second time (and it doesn't matter that he logs in as himself)
>system information gets updated just like the previous session was
>ended (like user logged off before logging in).
>
>I hope that will help someone with further investigation (I'm not
>familiar with the source).
>
>
IANAE, and I'm not sure if I understand the problem. Isn't
it acting as expected? From login(5):
-p By default, login discards any previous environment. The -p
option disables this behavior.
Kevin Kinsey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C21261.3040201>
