LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
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.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 05-15-2006, 07:46 PM   #1
air4s_1
LQ Newbie
 
Registered: May 2006
Posts: 1
Thanked: 0
Permanent hostname change in OS X 10.4


[Log in to get rid of this advertisement]
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?
air4s_1 is offline  
Tag This Post ,
Reply With Quote
Old 06-16-2006, 04:40 PM   #2
pablopong
LQ Newbie
 
Registered: Jun 2006
Posts: 1
Thanked: 0
OS X server change hostname method

Sudo the following comand: sudo scutil --set HostName servername.example.com

Last edited by pablopong; 06-16-2006 at 04:50 PM..
pablopong is offline  
Tag This Post
Reply With Quote

Reply

Bookmarks


Thread Tools

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 07:20 PM
net.ipv4.tcp_syn_retries - how to make change permanent syx Linux - Networking 1 01-05-2005 11:54 AM
how to change hostname fuelinjection Linux - General 5 07-06-2004 01:52 PM
rmmod - making the change permanent? DiBosco Linux - General 0 06-20-2004 06:32 AM
make the permanent change to /etc/sysctl.conf ashley75 Linux - General 1 09-15-2003 01:24 PM


All times are GMT -5. The time now is 04:56 AM.

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