Project scenario:
Today I re-flashed a debian system.
system version:
# 查看系统版本
lsb_release -a
My system version:
No LSB modules are available.
Distributor ID:Debian
Description: Debian GNU/Linux 12 (bookworm)
Release:12
Codename:bookworm
Problem Description
An error is reported when using su to enter the root system.
su: Authentication failure
solution:
sudo passwd root
Enter the above command, then enter your password, and then you can enter root.