Remove root password verification strategy under ubuntu

I recently used the new version of ubuntu, today I want to change the root password, when I enter:

sudo passwd

When I enter a 3-digit password, it says my password is too simple to set.

I am going to set this simple. Mad at you.

sudo gedit /etc/pam.d/common-password
Find the password line and change it to:
password    requisite   pam_pwquality.so retry=3 minclass=1

Remove the original enforce_for_root.
Get it done.

Recommended Posts

Remove root password verification strategy under ubuntu
Root password cracking under CentOS 7
ubuntu root default password (initial password)
How to change MySQL password under Ubuntu
How to quickly modify root password under CentOS8
How to change root user password on Ubuntu
Modify the default root password of the Ubuntu operating system
Install apache+PHP under Ubuntu
Install python3.6 under Ubuntu 16.04
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Python MySQLd under Ubuntu
Start working under ubuntu
[python] python2 and python3 under ubuntu
Use iptables under ubuntu
2018-09-11 Install arduino under Ubuntu
LNMP installation under Ubuntu
Network configuration under Ubuntu
Ubuntu completely remove MySQL
Install ROS under ROS Ubuntu 18.04[2]
Install MySQL under Ubuntu
Install Yarm-PM2 under Ubuntu