终端执行:sudo su
All Replies
阿尼樱奈奈
deepin
2023-10-18 23:52 Reply Like 1 View the author
hotime
deepin
2023-10-18 23:58 sudo su
输入当前管理员用户密码校验身份后即可
(我尝试了一下,在 su输错多次密码之后,无论是 sudo passwd root重置密码,亦或是进入live系统重置root密码,都不会影响这个计时,但 sudo su还是可以用的。)
Reply Like 0 View the author
jjcui8595
deepin
2023-10-19 00:24 live模式下删除/mnt/var/lib/deepin/authenticate/limit-states.json
Reply Like 0 View the author
华 仔
deepin
2023-10-19 00:28 阿尼樱奈奈:
终端执行:sudo su
可行。。谢谢
Reply Like 0 View the author
dgmenghuan
deepin
2023-10-19 16:25 你太厉害了,密码居然也会输入错误
Reply Like 0 View the author
夜行者
deepin
2023-10-19 17:22 所以这个1440分钟很反人类
Reply Like 0 View the author
刘
deepin
2024-12-19 14:07 嘛卖批,我的普通用户sudo命令“ergou 不是 sudoers 文件“,然后root密码还忘记,锁死了,限制1440。用livecd登陆也解锁了,还是不行,
live模式下删除/mnt/var/lib/deepin/authenticate/limit-states.json,live模式下,打不开termal,然后mnt目录没有打开权限,只能死等了是吧?
Reply Like 0 View the author
刘
deepin
2024-12-19 14:45 刘:
嘛卖批,我的普通用户sudo命令“ergou 不是 sudoers 文件“,然后root密码还忘记,锁死了,限制1440。用livecd登陆也解锁了,还是不行,
live模式下删除/mnt/var/lib/deepin/authenticate/limit-states.json,live模式下,打不开termal,然后mnt目录没有打开权限,只能死等了是吧?
折腾两个多小时,进入livecd模式,打开命令行工具,
然后vim /live_target/etc/sudoers
找到 root ALL=(ALL:ALL) ALL
下面添加你的普通用户:
test ALL=(ALL:ALL) ALL
然后执行: wq!
重启后,能够执行sudo就哦了,我日他娘的。
Reply Like 0 View the author
Please sign in first
Popular Events
More

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