For SLES9, don't forget /etc/hosts, and if your subnet changed, /etc/sysconfig/network/routes.
There may also be a host name in /etc/inews_mail_gateway. If you're using Postfix for mail, /etc/postfix/main.cf. You might also have to delete ssh keys in /etc/ssh. Basically, delete any file with the string "key" in the name. New versions of the keys don't seem to have the host name though, so this might not be an issue. > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of > Gianfranco Ciotti > Sent: Wednesday, May 17, 2006 10:31 AM > To: [email protected] > Subject: Re: [LINUX-390] Changeing system name and IP address > > > Mike Lovins wrote: > > Can some give me the directions on the proper steps to > change the system > > name and the IP address of my test Linux system that is > going to replace > > a current system I am shutting down. I need to use the same > system name > > and IP address because of the TSM application that I have. > > Your Linux distro (SuSE, RH, Debian, Slack...)? > > Anyway, in general, edit files: > > /etc/HOSTNAME > or > /etc/hostname > > /etc/sysconfig/network/ifcfg-<your_prefer_nic_name> > or > /etc/network/ifcfg-<your_prefer_nic_name> > > by, > > -- > > Gian > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ -------------------------------------------------------- ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
