How to Change Your Computer Name
To change your computer name in Mac OS X follow these steps:
Select System Preferences... from the Apple menu at the top left hand corner of your screen.
Click the Sharing icon from the Preferences window.
Change the text in the Computer Name field to your desired computer name.
Press Command+q to close System Preferences.