Root password???
Erik Christiansen
erik at dd.nec.com.au
Tue Apr 11 04:50:50 UTC 2006
On Mon, Apr 10, 2006 at 10:15:07PM +1000, Adam Conrad wrote:
> Karl Goetz wrote:
> >>
> > yeh. i found that
> > sudo -s
> > vi /etc/hostname
> > vi etc/hosts/
>
> changing /etc/hostname doesn't actually change your hostname, it's
> merely a config file used on boot to SET your hostname. To change it on
> the fly, use the hostname(1) utility.
>
> ... Adam
That's one way, but Karl's editing of etc/hosts and /etc/hostname is
equally effective, I find, when /etc/host.conf contains:
order hosts,bind
so that /etc/hosts determines the hostname.
Erik
More information about the ubuntu-users
mailing list