View Full Version : [ubuntu] sendmail error due to messup my /etc/hosts

April 24th, 2010, 11:38 AM

How to fix the #localhost back to localhost, anyone can help

April 25th, 2010, 05:14 PM
I don't understand what your problem really is. But if what you need is to edit the /etc/hosts file, then

sudo gedit /etc/hosts
should do the trick

Then, remove the # from the beginning of the line and save the changes.
You would probably need to run

sudo /etc/init.d/networking restart
after editing the /etc/hosts file.

Kind regards!

_0R10N >>

April 25th, 2010, 05:17 PM
Here I let you the output of my /etc/hosts file. localhost 0S1R1S serverca

_0R10N >>