how to disable "last login log" & disable "last login message" when start login.
hi, 1st question: in /var/log/lastlog this file keeping a last login(user,time...) how to erase it.
2nd question: Evertime start a new login than will show a message "Last login: Mon Feb 18 01:02:33 2008 from 192.168.1.10" And how to disable this function. Thank you. |
Out of curiosity why would you want to disable/remove these logs? Obviously the information they show is important and can give you clues if an unauthorised person accesses your computer.
|
Code:
touch .hushlogin |
It works fine
now how can i rollback to ?? i have tried to delete that file but still message is disappear. |
Lat Login from message is showing now
I have deleted that file & reboot the server & it worked. |
All times are GMT -5. The time now is 09:02 PM. |