[Internal testing communication] sudo命令反应慢的问题,需要几秒甚至十几秒的等待,才让输入密码 Resolved
Tofloor
poster avatar
LiuYongzhang
deepin
2025-10-18 11:37
Author

sudo命令反应慢的问题

输入sudo 需要等几秒甚至十几秒的等待,才让输入密码

在终端:运行以下命令将计算机名字加入/etc/hosts文件里面就可以了

echo "127.0.0.1 $(hostname)" |sudo tee -a /etc/hosts

Reply Favorite View the author
All Replies
昨夜的星辰
deepin
2025-10-19 10:51
#1

我说怎么有延迟,原来是这个原因,试了一下,应该是解决了👍

Reply View the author
johnmy
deepin
2025-10-19 10:54
#2

解决了大问题了,多谢。

Reply View the author
wanghuaisheng
deepin
2025-12-09 10:35
#3

感谢

Reply View the author
huang1978
deepin
2026-01-03 12:03
#4

实在是太感谢了!因为这个问题放弃过deepin25。

Reply View the author