( SOLVED ) Hostname too long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Good day,

Some time ago I asked some assistance for the long hostname in the 
terminals.

Editing .bashrc in user and root by adding PS1=xxxxxxx did make the 
difference.

Here is something I picked up on another list that make editing .bashrc 
not necessary.
as root..    gedit /etc/sysconfig/network

# HOSTNAME=localhost.localdomain

change to in my case and that solves the problem

HOSTNAME=johan.jan

Regards
Johan
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux