I want to see some of the failed login attempts. where can I find the log?
我目前也在广泛搜索 Google,查找无效或失败登录尝试的日志(这也是我找到这里的原因)。如果你已经找到解决方法,请告诉我。
谢谢。
编辑:我想到一个办法,前往 Google 搜索“我的 IP 地址”。接着故意使用错误密码尝试登录,然后在系统中搜索该 IP 地址:
sudo grep -i --binary-files=without-match --exclude-dir={sys,proc,run} --include=\* -rnw '/' -e "111.222.333.444"
但这样返回的只有我的 Nginx 访问日志,无效登录尝试似乎并未被记录。我需要查看是否有相关的设置、模块或插件可以启用此类信息的日志记录。