ssh login issues : hostname
Hi everyone,
Can somebody tell me what to do. I am using a computer which was used before by another employee. Now, my problem is. Why is it when usually login to a linux server this message shows after? "Last login: Wed Mar 18 17:53:38 2009 from <old user hostname> " I already have new hostname as me but still the server see my machine as the old user. Can anyone tell me what to do so that it was me who will appear? Thanks! |
changing the hostname on your linux box may not solve the problem.
It is how the server has in its records. Most probably you should be having a resolver in your network or on the server itself(in /etc/hosts file). So the mapping of IP vs hostname need to be changed. check on that.. |
Quote:
Just like to ask. Every time we log in to a linux server via ssh. It gives us report when we last login, is there a way where we can reset this logs? check the logs of the people who login? |
The following link talks of somethings:
http://www.cyberciti.biz/faq/howto-d...n-information/ Does that answer your question? If you dont want the last information to be stored at all. Then you can try emptying /var/log/lastlog and remove the write permissions. I have not tried that. -Suresh Quote:
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 07:58 AM. |