From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,dc27abffaa2ba4b5 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-06-24 11:00:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.abbnm.com!newsboy.eng.abbnm.com!not-for-mail From: peter@abbnm.com (Peter da Silva) Newsgroups: comp.unix.tru64 Subject: Re: Change System Name - Is this procedure still valid? Date: Tue, 24 Jun 2003 17:41:02 +0000 (UTC) Organization: ABB Inc., Network Management Division Message-ID: References: <3ef84b47$0$228@hades.is.co.za> NNTP-Posting-Host: grendel.eng.abbnm.com X-Trace: jeeves.eng.abbnm.com 1056476462 44863 198.178.0.150 (24 Jun 2003 17:41:02 GMT) X-Complaints-To: usenet@jeeves.eng.abbnm.com NNTP-Posting-Date: Tue, 24 Jun 2003 17:41:02 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: peter@abbnm.com (Peter da Silva) Xref: archiver1.google.com comp.unix.tru64:10103 In article <3ef84b47$0$228@hades.is.co.za>, JasperH wrote: > I found the following procedure for changing my Alpha' s system name. > Is it still valid? > 1. # rcmgr set HOSTNAME newname Check. > 2. Edit the /etc/hosts file and make the following change > > From: > # > 127.0.0.1 localhost > 16.72.0.156 oldname > > To: > # > 127.0.0.1 localhost > 16.72.0.156 newname Check. Also, if you're using DNS, update the matching host/zone/whatever files you're using to maintain that. > 3. Reboot the system at a convenient time. > > # shutdown -r now You can generally get the same result by running 'hostname newname' and restarting a few programs, but this is safer. Don't forget that you may need to rerun mailsetup or otherwise edit your mail configuration. > 4. Edit the system configuration file so you can rebuild > the kernel the next time it is needed. The next kernel > rebuild, you will want to do "doconfig -c NEWNAME," after > doing the following commands: > > # cd /sys/conf > # cp OLDNAME NEWNAME > # vi NEWNAME > > From: > ident "OLDNAME" > > To: > ident "NEWNAME" I don't think this part is actually necessary. You an build a kernel with any file and ident name you want - it doesn't need to match the system name. In fact it's not unusual to have more than one kernel config file on a system. -- #!/usr/bin/perl $/="%\n";chomp(@_=<>);print$_[rand$.] Peter da Silva, just another Perl poseur.