lore wrote: > hi all, > does anybody could tell me what really append when i run 'hostname > myserver_name'? > Because /etc/hosts and /etc/sysconfing/network don't change. > Only change the name at the beginning of the command line when i do a new > login... > > thanks a lot > > lorenzo >
Hi Lorenzo, the hostname command changes the hostname of the running system, to make the change permanent you have to change the value in /etc/sysconfig/network (the line with HOSTNAME=<value>). At boot time the script /etc/rc.sysinit reads /etc/sysconfig/network and uses the hostname command to set the hostname of the system to the value of the HOSTNAME variable in that file. best regards, Arne _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
