Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem of Module is unknow error when ubuntu modifies password

Shulou Source: shulou.com Published: 2022-06-01 03:02:04 09月22日 Update

How to solve the ubuntu change password Module is unknow error problem, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

The following error occurred when ubuntu changed the password today:

Passwd: Module is unknowpasswd: passwd unchanged

Search the Internet and find two possibilities.

1. There's something wrong with the dynamic library.

There is a problem with the 2.pam setting

Dynamic libraries are usually left untouched.

Since there are more servers in the same batch, the files under / etc/pam.d are compared.

Root@xxx:/etc/pam.d# cat common-password | grep-v "#" password [success=1 default=ignore] pam_unix.so obscure sha512password requisite pam_deny.sopassword required pam_permit.soroot@xxx:/etc/pam.d# cat common-password | grep-v "#" password [success=1 default=ignore] pam_unix.so obscure Sha512password requisite pam_deny.sopassword required pam_permit.sopassword requisite pam_cracklib.so retry=3 minlen=8 difok=3 ucredit=-1 lcredit=-2 dcredit=-1

Tried to comment out the bottom line, and it was a success

It is caused by the absence of the dynamic library / usr/lib/cracklib.so.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Questions dynamics passwords help clarity success things content for this batches documents articles novices more servers comments knowledge industry information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Technology MySQL MariaDB Xiaomi