PDA

View Full Version : Host Name?


Mi And
02-20-2002, 08:36 AM
Hi,

I don't know if this is really a specific Unix question, but is there a way to change the host name? I accidentially got stuck with "Mi And's Computer" which I think sucks.

-Mi.

mervTormel
02-20-2002, 09:15 AM
a:

system preferences [ sharing ] Computer Name : [ thisldo ]

that'll prolly resolve your issue
---

also, consider

b:

as root, edit /etc/hostconfig and assign a reasonable hostname at the line HOSTNAME=xxx

sudo cp -p /etc/hostconfig /etc/hostconfig.dist # save the current dist'd version
sudo pico /etc/hostconfig

snippet:

##
# /etc/hostconfig
##
# This file is maintained by the system control panels
##

# Network configuration
# HOSTNAME=-AUTOMATIC-
HOSTNAME=thisldo
ROUTER=-AUTOMATIC-
...

gritsch
02-23-2002, 10:00 AM
nix