【Debian】报错:su: Authentication failure

项目场景:

今天我重新刷了一个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。


阳光总在风雨之后

相关推荐
液态不合群5 分钟前
【面试题】MySQL 中 count(*)、count(1) 和 count(字段名) 有什么区别?
android·数据库·mysql
雪球Snowball2 小时前
【Android关键流程】资源加载
android
2501_915918412 小时前
常见 iOS 抓包工具的使用,从代理抓包、设备抓包到数据流抓包
android·ios·小程序·https·uni-app·iphone·webview
墨月白3 小时前
[QT]QProcess的相关使用
android·开发语言·qt
enbug4 小时前
编译安卓内核:以坚果R1、魔趣MK100(Android 10)系统为例
android·linux
、BeYourself4 小时前
应用专属文件与应用偏好设置(SharedPreferences)
android
2501_948120154 小时前
基于模糊数学的风险评估模型
android
MengFly_4 小时前
Compose 脚手架 Scaffold 完全指南
android·java·数据库
·云扬·5 小时前
MySQL Binlog三种记录格式详解
android·数据库·mysql
月明泉清6 小时前
Android中对于点击事件的深度梳理(二)
android