[Kernel/Drive] 崩溃了,弄来弄去,ssudo 权限找回这么难.........
Tofloor
poster avatar
130******88
deepin
2024-06-23 18:06
Author

只因 sudo的命令在/usr/bin下面,这个文件一定不要解锁,如果不小心把这个文件解锁了,之后执行的每一个指令,都会报一个错误:/usr/bin/sudo 必须属于用户 ID 0(的用户)并且设置 setuid 位

然后就这么难将sudo 权限找回来😭

Reply Favorite View the author
All Replies
1 / 2
To page
130******88
deepin
2024-06-23 18:07
#1

幸亏电脑是双系统,目前在使用windows10😁

Reply View the author
130******88
deepin
2024-06-23 18:14
#2

本人准大学生(今年刚高考完)

初学国产系统deepin,初学者,遇到这个问题,该如何解决?

如果很难解决,那我就重装系统啦🙂

Reply View the author
神末shenmo
deepin
Spark-App
2024-06-23 18:37
#3

pkexec su

Reply View the author
130******88
deepin
2024-06-23 18:43
#4
神末shenmo

pkexec su

这个命令在哪里输入?😯

目前电脑是deepin和windows10双系统

有deepin的安装U盘,本人会用Ctrl+Alt+F2进入tty2,输入startx可以进入UOS Live User。

但是不知如何将sudo权限找回。

如果你有建议或想法,欢迎评论😃

Reply View the author
130******88
deepin
2024-06-23 18:44
#5
神末shenmo

pkexec su

目前电脑的deepin系统无法进入,但可以进入tty2

Reply View the author
明天会更好
deepin
2024-06-23 18:49
#6
130******88

这个命令在哪里输入?😯

目前电脑是deepin和windows10双系统

有deepin的安装U盘,本人会用Ctrl+Alt+F2进入tty2,输入startx可以进入UOS Live User。

但是不知如何将sudo权限找回。

如果你有建议或想法,欢迎评论😃

建议重装吧,如果想学习的态度,那就折腾,都是这样子升级的。

Reply View the author
130******88
deepin
2024-06-23 18:55
#7
明天会更好

建议重装吧,如果想学习的态度,那就折腾,都是这样子升级的。

好的谢谢😃

Reply View the author
晚秋(lateautumn)
Moderator
2024-06-23 19:01
#8

最好的方法就是重装,23prview时,一天我重装了5次系统joy

Reply View the author
花雨落逝
deepin
2024-06-23 19:19
#9
130******88

这个命令在哪里输入?😯

目前电脑是deepin和windows10双系统

有deepin的安装U盘,本人会用Ctrl+Alt+F2进入tty2,输入startx可以进入UOS Live User。

但是不知如何将sudo权限找回。

如果你有建议或想法,欢迎评论😃

deepin能进去的话,当然是deepin的终端里啦。不过如果能进系统的话,你也可以试试回退到上次更新前(如果上次更新前没出问题的话)。

Reply View the author
花雨落逝
deepin
2024-06-23 19:19
#10
晚秋(lateautumn)

最好的方法就是重装,23prview时,一天我重装了5次系统joy

好家伙

Reply View the author
花雨落逝
deepin
2024-06-23 19:19
#11

准大学生+1

Reply View the author
130******88
deepin
2024-06-23 19:38
#12
晚秋(lateautumn)

最好的方法就是重装,23prview时,一天我重装了5次系统joy

哈哈6,那我也准备重装系统啦😃

Reply View the author
130******88
deepin
2024-06-23 19:39
#13
花雨落逝

deepin能进去的话,当然是deepin的终端里啦。不过如果能进系统的话,你也可以试试回退到上次更新前(如果上次更新前没出问题的话)。

打算重装系统啦,谢谢你的回复😃

Reply View the author
130******88
deepin
2024-06-23 19:39
#14
花雨落逝

准大学生+1

加油😃

Reply View the author
蔡EEPIN
deepin
2024-06-23 19:45
#15
晚秋(lateautumn)

最好的方法就是重装,23prview时,一天我重装了5次系统joy

太强了,我一天最多也就装3次系统

Reply View the author
hanzn-zzx
deepin
2024-06-23 21:05
#16

最好还是备份下……

可以用timeshift执行计划备份啊

Reply View the author
Amber
deepin
2024-06-24 18:37
#17

先重装吧,搞多了就熟了

按楼上的用timeshift定期备份也是个好习惯

Reply View the author
Linux大宝
deepin
2024-06-26 09:59
#18

回想遥远的当年,我也把 sudo 给干废过,忘记当时是怎么搞回来的了,应该也是重装系统吧

Reply View the author
乾豫恒益
deepin
2024-07-06 09:08
#19

确实挺勇的,直接下手sudo。。。

若是生产环境,一次一个月工资啊,三思而后行。。。

Reply View the author
130******88
deepin
2024-07-08 06:49
#20
hanzn-zzx

最好还是备份下……

可以用timeshift执行计划备份啊

好的,谢谢😃

Reply View the author
1 / 2
To page