user disappears from w and who
Kevin D. Kinsey, DaleCo, S.P.
kdk at daleco.biz
Thu Dec 16 14:55:07 PST 2004
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
More information about the freebsd-questions
mailing list