[mosh-users] logging to wtmp
Zachary Miller
zmiller at cs.wisc.edu
Wed Sep 5 17:57:49 EDT 2012
hello,
is there any way to tell mosh-server not to log to /var/log/wtmp?
i'm not sure what mechanism mosh is using that causes this, but my wtmp file
is filled with multiple identical entries like:
zmiller pts/2 Wed Sep 5 09:07 - 09:26 (00:18) 76.250.XX.YY via mosh [8627]
zmiller pts/2 Wed Sep 5 09:07 - 09:07 (00:00) mosh [8627]
zmiller pts/2 Wed Sep 5 09:07 - 09:07 (00:00) 76.250.XX.YY via mosh [8627]
zmiller pts/2 Wed Sep 5 08:52 - 09:07 (00:14) mosh [8627]
zmiller pts/2 Wed Sep 5 08:52 - 08:52 (00:00) 76.250.XX.YY via mosh [8627]
zmiller pts/2 Wed Sep 5 08:52 - 08:52 (00:00) mosh [8627]
zmiller pts/2 Wed Sep 5 08:52 - 08:52 (00:00) 76.250.XX.YY via mosh [8627]
zmiller pts/2 Wed Sep 5 06:52 - 08:52 (01:59) mosh [8627]
zmiller pts/2 Wed Sep 5 06:51 - 06:52 (00:00) 76.250.XX.YY via mosh [8627]
zmiller pts/2 Wed Sep 5 06:51 - 06:51 (00:00) mosh [8627]
zmiller pts/2 Wed Sep 5 06:51 - 06:51 (00:00) 76.250.XX.YY via mosh [8627]
...
and it's too much noise. it would be nice to only log when the session is
initiated. any ideas?
cheers,
-zach
More information about the mosh-users
mailing list