我们有一台 Linux Red Hat 7.9 服务器,有很多用户安装文件夹。
在安装过程中,会要求输入帐户密码(以访问作为安装源的网络文件夹)。
但是当使用的密码不再有效(密码经常被修改)时,我们会在 /var/log/messages 中看到很多错误消息:
Feb 28 18:45:06 TOTO kernel: cifs_vfs_err: 63 callbacks suppressed
Feb 28 18:45:06 TOTO kernel: CIFS VFS: Free previous auth_key.response = xxxxxxxxxxx
Feb 28 18:45:06 TOTO kernel: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Feb 28 18:45:06 TOTO kernel: CIFS VFS: Send error in SessSetup = -13
Feb 28 18:45:06 TOTO kernel: CIFS VFS: Free previous auth_key.response = xxxxxxxxxxx
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Feb 28 18:45:07 TOTO kernel: CIFS VFS: Send error in SessSetup = -13
Feb 28 18:45:07 TOTO kernel: CIFS VFS: Free previous auth_key.response = xxxxxxxxxxx
Feb 28 18:45:07 TOTO kernel: CIFS VFS: Free previous auth_key.response = xxxxxxxxxxx
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Feb 28 18:45:07 TOTO kernel: CIFS VFS: Send error in SessSetup = -13
Feb 28 18:45:07 TOTO kernel: CIFS VFS: Free previous auth_key.response = xxxxxxxxxxx
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:07 TOTO kernel: CIFS VFS: Send error in SessSetup = -13
Feb 28 18:45:07 TOTO kernel: CIFS VFS: Free previous auth_key.response = xxxxxxxxxxx
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:07 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:08 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:08 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:08 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
Feb 28 18:45:08 TOTO kernel: Status code returned 0xc000006a STATUS_WRONG_PASSWORD
使用 mount 命令或 findmnt 我可以获得所有安装的列表,但我看不到哪个正在生成错误消息。而且要求所有用户检查他们的安装是否仍然有效也是很痛苦的......
有没有一种方法可以检查所有安装的状态以检测哪一个安装不正常?