Changer le nom de sa machine
17 Sep. 2006
- Auteur : Hyacinthe MENIET
- Responsable : TrustRobot
- Score ( voter ) :



- Connexes : Même auteur | Même responsable | Historique
-
En tant que root, éditer le fichier /etc/rc.d/rc.sysinit
# Read in config data. if [ -f /etc/sysconfig/network ]; then ./etc/sysconfig/network else NETWORKING=no HOSTNAME=linux Fi
-
Modifier au besoin le fichier /etc/sysconfig/network (si ce fichier existe)
NETWORKING=yes FORWARD_IPV4=false HOSTNAME=linux.workstation DOMAINNAME=workstation
-
Modifier également le fichier /etc/hosts :
avant :
127.0.0.1 localhost.localdomain localhost
après :127.0.0.1 linux.workstation linux