目前,当我想编辑我的主机文件时,我需要使用sudo nano /etc/hosts,有什么我可以说“允许tom用户在不需要 sudo 的情况下编辑主机文件”的吗?
我有一个 Remmina 连接,设置如下:(js-cc-10或js-cc-10.local)

当我尝试连接时,我得到:
Couldn't convert 'js-cc-10' to host address
Run Code Online (Sandbox Code Playgroud)
但是,我可以这样做:
dig js-cc-10.local
Run Code Online (Sandbox Code Playgroud)
这给了我 IP 192.168.x.x,我可以通过 IP 地址使用 Remmina 进行连接。
我可以让 Remmina 通过hostname而非 IP 地址工作吗?