如何删除 pam_tally、pam_tally2 并替换为 pam_faillock?Ubuntu 20.04 至 22.04

如何删除 pam_tally、pam_tally2 并替换为 pam_faillock?Ubuntu 20.04 至 22.04

有人有指导吗,有分步命令可以正确删除两个计数文件并用故障锁定替换?我在论坛上看到过关于此问题的主题,但没有实际可用的命令。我正尝试从 20 升级到 22,并在重新启动时遇到以下错误 d-release-upgrade。任何帮助都将不胜感激!

You are using pam_tally or pam_tally2 in your configuration. 

The pam_tally and pam_tally2 modules have been removed from PAM. You 
are using one of these modules in your PAM configuration in 
/etc/pam.d. You must remove the uses of these modules before PAM can 
be upgraded; including these modules in your PAM configuration after 
the upgrade will stop users from being able to log into the system. 

Consider the pam_faillock module as a replacement for pam_tally.* 

相关内容