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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to