Thursday, May 26, 2011

Change computer name in Arch

Change computer name: got as root to etc/rc.conf
Edit it with your fav text editor:
HOSTNAME="archbang" to
HOSTNAME="preferred_name"

If you have configured your hosts file (also in /etc) and it is different from the default:
127.0.0.1 localhost.localdomain localhost

you might to have to adapt that to the new settings.


No comments:

Blog Archive