重建 Ubuntu 系统被删除的 auth.log 等系统日志文件

如果误删除了 /var/log/auth.log 等系统日志,可以通过重新启动 rsyslog 服务重建日志文件。

sudo service rsyslog restart