[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
4 hours ago
#1

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

Reply View the author
155******11
deepin
4 hours ago
#2

解决了大问题了,多谢。

Reply View the author