项目场景:
今天我重新刷了一个debian系统。
系统版本:
# 查看系统版本
lsb_release -a
我的系统版本:
No LSB modules are available.
Distributor ID:Debian
Description: Debian GNU/Linux 12 (bookworm)
Release:12
Codename:bookworm
问题描述
在使用su 进入 root系统的时候报错。
su: Authentication failure

解决方案:
sudo passwd root
输入以上的命令,再输入自己的密码,在使用即可进入root。
