root密码忘记怎么办
Tofloor
poster avatar
phpsxg
deepin
2019-11-18 22:16
Author
默认root没有密码,设置root密码之后忘记了怎么办?


No LSB modules are available.
Distributor ID:        Deepin
Description:        Deepin 15.5 Professional
Release:        15.5
Codename:        camel


Reply Favorite View the author
All Replies
avatar
enforcee
deepin
2019-11-18 22:31
#1
如果你的用户能用sudo的话可以用sudo passwd
Reply View the author
avatar
enforcee
deepin
2019-11-18 22:35
#2
如果不能的话可以重启系统的时候grub命令linux那行后面加single进入单用户模式修改
Reply View the author
avatar
走钢丝
deepin
2019-11-18 22:39
#3
https://bbs.deepin.org/post/185351
如果不能的话可以重启系统的时候grub命令linux那行后面加single进入单用户模式修改 ...

确实,以前破解一些网上下载的 linux 虚拟机就是用这招。
Reply View the author
avatar
phpsxg
deepin
2019-11-19 01:55
#4
https://bbs.deepin.org/post/185351
如果你的用户能用sudo的话可以用sudo passwd

谢谢,执行sudo passwd又让我设置新密码了,记得之前设置过了呀,总之解决了,谢谢你
Reply View the author