Q:

user@localhost:~$ sudo su
sudo: unable to resolve host localhost.localdomain
[sudo] password for user:


A:

Edit your server hosts file (/etc/hosts). You are missing the domain. For example:

It probably has a line like:

127.0.0.1  localhost

Change it to:

127.0.0.1  localhost.localdomain  localhost

 

arrow
arrow
    文章標籤
    ubuntu
    全站熱搜

    立你斯 發表在 痞客邦 留言(0) 人氣()