Score:0

passwd: Module is unknown

br flag

I have installed and running command "CIS compliance with Ubuntu 20.04 LTS Applying the CIS rules to the current system" then passwd,adduser, deluser dosen't work.

passwd: Module is unknown
passwd: password unchanged
Organic Marble avatar
us flag
Can you give more information - a link perhaps - to what you installed?
FiaSoM avatar
tr flag
After failure run $ sudo tail -n 2 /var/log/auth.log shows missing file /lib/security/pam_pwquality.so. I found the native libpam-pwquality does not contain this file also the "security" directory with pam_*.so files is in /lib/x86_64-linux-gnu/security. I fixed by re-installing libpam-pwquality $sudo install libpam-pwquality then creating a link from /lib/security to /lib/x86_64-linux-gnu/security $sudo ln -s /lib/x86_64-linux/security /lib/security. Note: If I do not enter a password greater than the minlen I have set in /etc/security/pwquality.conf the error message says less than 1 digits
Score:-1
cn flag

open this file /etc/pam.d/common-password

comment these lines at the end of the file

password required pam_pwhistory.so remember=5
password requisite pam_pwquality.so retry=3
Pilot6 avatar
cn flag
What do these commands do and why the can help?
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.