[Seek Help] V20系列的sudo su速度慢
Tofloor
poster avatar
PrintfCow
deepin
2022-12-30 00:02
Author

如题,似乎是V20系列通病,输入 sudo su以后要等待好多秒才能输入密码,要不然就会显示,这是什么问题吗...

Reply Favorite View the author
All Replies
忘记、过去
deepin
2022-12-30 00:14
#1

好像是 /etc/hosts 文件里少一行会导致这个问题来着

一般在第一行都是 127.0.0.1 localhost,底下加一行 127.0.1.1 主机名称 就好了

P.S. 终端执行 hostname 获取主机名称

Reply View the author
PrintfCow
deepin
2022-12-30 00:17
#2
忘记、过去

好像是 /etc/hosts 文件里少一行会导致这个问题来着

一般在第一行都是 127.0.0.1 localhost,底下加一行 127.0.1.1 主机名称 就好了

P.S. 终端执行 hostname 获取主机名称

就是这个,修好了,谢谢

Reply View the author
fymumu
deepin
2022-12-30 05:07
#3

直接执行su也可以啊,,,

Reply View the author
PrintfCow
deepin
2022-12-30 16:46
#4
fymumu

直接执行su也可以啊,,,

好像是啊...学的时候没注意

Reply View the author