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:
The record of logins used by the last command is not run through rsyslog, it's a separate auditing log that's managed by the login program itself.