[other] root被锁,如何快速解锁
Tofloor
poster avatar
华 仔
deepin
2023-10-18 23:39
Author

在命令行终端进入su,root用户时密码输入错误,导致要1440分钟以后才能再试,怎么办,现在是把root密码改了,但是要那么长时间才能进入,请教老师们怎么快速解锁啊

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-10-18 23:52
#1

终端执行:sudo su

Reply View the author
hotime
deepin
2023-10-18 23:58
#2
sudo su

输入当前管理员用户密码校验身份后即可

(我尝试了一下,在 su输错多次密码之后,无论是 sudo passwd root重置密码,亦或是进入live系统重置root密码,都不会影响这个计时,但 sudo su还是可以用的。)

Reply View the author
jjcui8595
deepin
2023-10-19 00:24
#3

live模式下删除/mnt/var/lib/deepin/authenticate/limit-states.json

Reply View the author
华 仔
deepin
2023-10-19 00:28
#4
阿尼樱奈奈

终端执行:sudo su

可行。。谢谢

Reply View the author
dgmenghuan
deepin
2023-10-19 16:25
#5

你太厉害了,密码居然也会输入错误

Reply View the author
夜行者
deepin
2023-10-19 17:22
#6

所以这个1440分钟很反人类

Reply View the author