Search
Categories
Ad

No response of Sudo on Fedora 11

Problem

On Fedora11 installed via Vmware, sudo does not respond for thirty or fourty secs.

Solution

The cause is that sudo is looking up your hostname to DNS, and waiting until TIMEOUT event is fired. You can fix this problem by just adding your hostname to /etc/hosts

 su -
 nano /etc/hosts
 127.0.0.1       localhost localhost.localdomain <yourhost> <yourhost>.localdomain localhost4 localhost4.localdomain

Tags:

Leave a Reply