How can I disable logs for terminal?
Hi,
when I login to debian server with terminal, I type command: last and I get last login information. I want to disable this option and I used even /etc/init.d/rsyslog stop but again when I logged in next day, I type last and again I get IP address from where I logged in terminal last time. my question is: How can I disable logs for terminal (user root)? of course, I checked if rsyslog is running and it is not running: [FAIL] rsyslogd is not running ... failed! I visited rsyslog maillist and this was their answer: Quote:
|
Check /var/log/wtmp, if you read the manpage for login it states that previous sessions are listed there.
|
# rm /var/log/wtmp
# ln -s /dev/null /var/log/wtmp This is pretty Q&D though. |
thank you, I did as you said and now it is good.
|
All times are GMT -5. The time now is 04:23 AM. |