我正在尝试升级到下一个 LTS 版本。运行时
sudo do-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.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Mon Mar 6 18:59:02 2023) ===
=== Command terminated with exit status 1 (Mon Mar 6 18:59:12 2023) ===
答案1
谢谢你们,我们在更新 Openmedia(pam_tally、pam_tall2)时遇到了问题,删除了在 /etc/pam.d 中找到的项目(egrep -i pam_tally *)。
我能够升级文件并使用维护版本。
我会继续测试,但结果看起来不错。
再次谢谢你。
托德