How can I remove the ssh last login info?
Posted
by
Gnijuohz
on Super User
See other posts from Super User
or by Gnijuohz
Published on 2012-07-02T13:11:05Z
Indexed on
2012/07/02
15:18 UTC
Read the original article
Hit count: 265
ssh
|ubuntu-12.04
Whenever I log into a server using ssh. The prompt gives me "last login" information. I was wondering where this information comes from. How can I remove this record so when someone else log into the same server, the person would see my login info with my ip in it?
So how can I do this? For the record, I am not hacking someone's computer and the server runs Ubuntu 12.04.
EDIT: which file logs this kind of information? If I find the file, then I can do anything to it as root.
Thanks.
© Super User or respective owner