防止Mac Os X使用dhcp时修改hostname的方法

Posted by 4Aiur on 04/06/2010 in MacOSX |

防止Mac Os X使用dhcp时修改hostname的方法 在/etc/hostconfig中增加HOSTNAME项,这样可以阻止使用dhcp时,hostname经常被更改的问题。 使用命令行的方式修改 scutil –set HostName new_hostname sudo hostname new_hostname 或者直接编辑配置文件 udo vi /etc/hostconfig HOSTNAME=4Aiur 在桌面上修改hostname的方法: Launch ‘System Preferences’ Click the ‘Sharing’ icon Type in what you want your Mac’s new computer name to be

Tags: ,

Copyright © 2010-2024 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.