Screenshot:
First switch to root user
(Suitable for the first installation. If you don't want to edit other files, it is recommended to reinstall it!)
sudo su root
After entering the code, and then verifying the current user password, it will automatically switch to the root user!
Then, enter passwd to modify the password!
OK!