tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: name change
@ 1997-04-24 23:00 root
  0 siblings, 0 replies; only message in thread
From: root @ 1997-04-24 23:00 UTC (permalink / raw)
  To: tru64-unix-managers

thanx! to all who replied. below is my question and the answers provided.
it turns out i don't have to rebuild the kernel to change the name of
my system.  you change the name and ip-addr in netconfig. then check
check rc.config, hosts, and resolve.conf for the appropriate entries.
also check and/or reconfig sendmail and bind. that's it!


> hello there,
> i'm new to this listserv so i'm not sure this has been discussed before.
> i have to change the name of my AlphaServer 1000A, DU4.0b .
> can i just copy the kernel file and rebuild it- like so:
> #cp OLDNAME NEWNAME
> #/usr/sbin/doconfig -c NEWNAME
> 
> then change the name and address in netconfig
> then change the name in rc.config
> and reboot?
> 
> am i missing something or should it be that easy?
> thanx, johnm
---------------------------------------------------------
--------------------------------------------------------


From: Matt J. L. Goebel <goebel@emunix.emich.edu>
You will want to change the ident line in the config file to match the
machines new name.
You might also need to reconfigure your sendmail.


From ckrieger@latrade.com Wed Apr 16 14:01:41 1997
You need to change the name in the /sys/conf/SYSTEMNAME file as well as
the name of the file itself.
You need to change the name of the /sys/SYSTEMNAME directory.
You need to change the name in /etc/hosts.
You need to change the name in /etc/rc.config.
Get the DNS entries changed.
Reboot.
I have never rebuilt the kernel for a name change, but it might be worth
while.

From amy@aloha.nascom.nasa.gov Wed Apr 16 14:13:51 1997
Don't forget to fix the sendmail config, too.  And your web pages, if you have
any.  
Mailsetup should be fine for the sendmail stuff.
Remember to include the new address in the hosts file.
If the domain has changed, fix /etc/resolv.conf

Received: from quarry.zk3.dec.com by mail11.digital.com (8.7.5/UNX 1.5/1.0/WV)
If you change the system name in netconfig and let it restart all of the
daemons, you shouldn't even need to reboot.  Netconfig updates rc.config for
you.
You don't need to rename the kernel configuration file unless you want to.
If you are going to do that, you should also edit the file; the name is in
the file.  The kernel name isn't the system name; the system name is part of
the network configuration.

From lchurch@adobe.com Wed Apr 16 15:26:33 1997
You don't need to rebuild the kernel to change names. The main places are:
1. /etc/rc.config
2. /etc/hosts
possibly in the /etc/named/ name database if you are using that.
Just edit thoes files and reboot.

From stous@sol.cstp.umkc.edu Wed Apr 16 16:14:50 1997
Actually, it should be easier!
You don't need to recompile the kernel to change the hostname.
The easiest way is to use netconfig and 
1. change the name on the  "Ethernet Interface - tu0" component.
2. correct the host file component.
3. reboot
Or you can do it by hand
1. edit /etc/rc.config
2. edit /etc/hosts
3. reboot

From mlucius@dwc.edu Wed Apr 16 16:38:36 1997
It should be. Edit rc.config, /etc/hosts, tell everyone who needs to know to
update their hosts files. You shouldn't even really need to rename the config
directory, although you might want to to avoid confusion.

From jude@tsi.com.my Wed Apr 16 17:33:58 1997
That should do it but on the network portion netsetup
should be able to do the trick.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-04-24 23:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-24 23:00 SUMMARY: name change root

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox