Adding or editing an entry in /etc/hosts

Peter Garrett peter.garrett at optusnet.com.au
Sat Jan 6 23:23:37 UTC 2007


On Sat, 06 Jan 2007 18:19:05 +0000
norman <norman at littletank.org> wrote:

> < snip >
> 
> > I guess i could have said alt+F2>gksu gedit for gui solution
> 
> I am very much a novice and needed to make some changes and was very
> comfortable using sudo gedit

Sure, but the guy with the original problem needed root and could not use
sudo because the system was unable to use "get host by name" - so he
needed to boot in recovery mode to the default root prompt, then use a CLI
editor.

Somehow this thread got broken and reappeared here, without the context.

I second the idea that nano is a much better choice for fixing the
problem, given that the poster would be unlikely to be familiar with
vi/vim.

Peter




More information about the ubuntu-users mailing list