i forgot my password and had to go into root by using recovery mode on boot and reset my password. Now instead of my pc being called a600n it calls itself localhost.localdomain. How do i fix this?

OS= 12.04 32-bit

john