Password change error

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu22 service

Which version of system do you use? Please provide the version of the system here:

self build

Please describe your issue below:

passwd root

report errors:
New password: 
Retype new password: 
passwd: Authentication token manipulation error
passwd: password unchanged

help help

Did you try sudo passwd root ?

The same anomaly!
I’m trying:
#password requisite pam_deny.so

No error reported, but the password did not take effect.

Solved, thank you for your support!

Please do share your solution for others in the future :wink: