使用 root 用户登录时 /etc/hosts 为只读

使用 root 用户登录时 /etc/hosts 为只读

我正在使用 Debian Server 9.5,我无法更改我的 /etc/hosts 文件,因为它是只读的

ls -lh /etc/hosts
-rw-r--r-- 1 root root    461 Jan  6  2021 hosts

我通过 root 用户使用 ssh

相关内容