[Debian]报错:su: Authentication failure

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.


The sun always comes after the storm

Guess you like

Origin blog.csdn.net/oxygen23333/article/details/133799166