Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > Other *NIX
User Name
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.


  Search this Thread
Old 05-15-2006, 06:46 PM   #1
LQ Newbie
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Permanent hostname change in OS X 10.4

I've been trying to permanently change the hostname of a couple machines running OS X 10.4. Using the hostname command will only change the hostname until after a reboot, after which it resets to the old hostname. If I manually change it in /etc/hostconfig by changing the HOSTNAME=-AUTOMATIC- to HOSTNAME=hostname, then it breaks my Apache/Tomcat.

Does anyone know how to change this without breaking my servers?
Old 06-16-2006, 03:40 PM   #2
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
OS X server change hostname method

Sudo the following comand: sudo scutil --set HostName

Last edited by pablopong; 06-16-2006 at 03:50 PM.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making MTU change permanent Firestarter75 Mandriva 2 02-16-2005 06:20 PM
net.ipv4.tcp_syn_retries - how to make change permanent syx Linux - Networking 1 01-05-2005 10:54 AM
how to change hostname fuelinjection Linux - General 5 07-06-2004 12:52 PM
rmmod - making the change permanent? DiBosco Linux - General 0 06-20-2004 05:32 AM
make the permanent change to /etc/sysctl.conf ashley75 Linux - General 1 09-15-2003 12:24 PM > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration