Well first you could tell us what distro are you using...
I guess "root@localhost" is prompt in your xterm's (or wathever terminal)
If you want to change that then:
On RedHat you go:
1. root is your username, by wich you login your user account.
- Make new USER account, DO NOT use root account for every days usage.
2. To chane your hostname you can use hostname command as root but i don't know will that name stick after you reboot...
- My friend change that in /etc/rc.sysinit
There is a few lines in top of file that set the hostname while booting the system:
if [ -f /etc/sysconfig/network ]; then
if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then
He just added this below these lines and viola, new hostname is set at boot time.
It is not very elegant but it does the trick...
Anyways if you want to edit your prompt you should search the net for more info on how to do that...