HOWTO change bubba's name
Posted: 04 Jun 2007, 16:06
So now my bubba goes by the name of igor. This is how:
First, get a command line on bubba (e.g. ssh)
$ sudo bash
# echo igor > /etc/hostname
# hostname igor
# vim /etc/hosts
or choose another editor, and change the bubba entries to igor, then
# vim /etc/mailname
same story again and again
# vim /etc/dhclient.conf
# vim /etc/postfix/main.cf
# postfix reload
You may need to make more extensive changes to postfix, depending on your configuration.
To see if any further files need changing (none on my bubba),
# grep bubba /etc
# grep bubba /etc/postfix
Log off, log on, and your prompt should be username@igor:~$
First, get a command line on bubba (e.g. ssh)
$ sudo bash
# echo igor > /etc/hostname
# hostname igor
# vim /etc/hosts
or choose another editor, and change the bubba entries to igor, then
# vim /etc/mailname
same story again and again
# vim /etc/dhclient.conf
# vim /etc/postfix/main.cf
# postfix reload
You may need to make more extensive changes to postfix, depending on your configuration.
To see if any further files need changing (none on my bubba),
# grep bubba /etc
# grep bubba /etc/postfix
Log off, log on, and your prompt should be username@igor:~$