Score:1

pam_tally Issue while upgrading to 22.04 from 20.04

es flag

I am trying to upgrade to next LTS version. When I run sudo do-release-upgrade facing below error. Did not get much help from google. Any help will be much appreciated?


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) ===
hr flag
I'm not aware of any tool that will do this migration for you automagically - you will need to manually remove uses of pam_tally / pam_tally2 from the files in `/etc/pam.d` and then (if you wish) set up pam_faillock - see for example [How do I set up pam_faillock?](https://askubuntu.com/questions/1403438/how-do-i-set-up-pam-faillock)
Akshay Vijapur avatar
es flag
Thanks, It worked after removing unwanted entires.
Score:1
na flag

Thank you guys, we were having trouble with updating the Openmedia (pam_tally, pam_tall2), removed the items found in /etc/pam.d (egrep -i pam_tally *).

I was able to upgrade the files and used the maintainer version.

I will continue to test but it is looking good.

Again, thank you.

Todd

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.