[Seek Help] root密码输入被限制,如何进入root,只能等吗?
Tofloor
poster avatar
leo
deepin
2022-10-24 06:21
Author

root密码输入被限制,如何进入root,只能等吗?

WeChat Screenshot_20221023221510.jpg

Reply Favorite View the author
All Replies
Ziggy
deepin
2022-10-24 06:22
#1

sudo -i

Reply View the author
leo
deepin
2022-10-24 06:24
#2
Ziggy

sudo -i

可以 谢谢

Reply View the author
安洛
deepin
2022-10-24 07:48
#3

su会要求输入root用户密码而不是当前用户密码,正确使用su的方法是:

sudo su

Reply View the author
jjcui8595
deepin
2022-10-24 13:29
#4

默认安装的情况下并未设置root 账户的密码,应该使用sudo su切换到root账户

Reply View the author
沈拙言
deepin
2022-10-25 01:14
#5

sudo passwd 设置root用户的密码

Reply View the author
LiuYongzhang
deepin
2023-01-14 20:05
#6
It has been deleted!
LiuYongzhang
deepin
2023-01-14 20:07
#7

image.png

20.8安装后默认root没有密码

要设置root密码可以按照下列命令设置

切换到root

sudo -i

设置root密码

sudo passwd root

输入新密码

再次输入新密码

Reply View the author
挨踢螺
deepin
2023-01-26 05:10
#8

这个帖子太保命了

Reply View the author