Marco Beishuizen wrote:


I would like to change the hostname of one of my machines without a
reboot. Is it enough to change my rc.conf and run the /etc/netstart script
or do I have to do something else?

man hostname(1):

     hostname -- set or print name of current host system

     hostname [-s] [name-of-host]

a simple

# hostname

should do what you're asking. also add it to rc.conf so the changes stay on next reboot


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to