Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site opus.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!wjh12!harvard!seismo!hao!cires!nbires!opus!steve From: steve@opus.UUCP (Steve Berl) Newsgroups: net.bugs.uucp Subject: Re: How to change nodenames Message-ID: <827@opus.UUCP> Date: Tue, 18-Sep-84 15:28:18 EDT Article-I.D.: opus.827 Posted: Tue Sep 18 15:28:18 1984 Date-Received: Wed, 26-Sep-84 00:43:22 EDT References: <750@enea.UUCP> <801@dual.UUCP> <103@rlgvax.UUCP> Organization: NBI,Inc, Boulder CO Lines: 44 > > >> Vendors shouldn't send out systems with default names if there isnt't > > >> any way to change it locally. Does anyone know how nodenames are > > >> changed in different brands of Unix? > > > > The rules are as follows: > > > > Vanilla v7 UNIX: Change the name in uucp.h, whoami.h, and mail.c > > and recompile UUCP and /bin/mail. > > > > 2.8 BSD: Same as above... > > > > System III: Execute /etc/chgnod and reboot the system... > > > > System V: Same as above > > > > UniPlus System III/V: Same as above > > > > The rules for v7, 2.8, etc. only apply, of course, if you have the source to > /bin/mail or UUCP (or if you've got the source from somewhere and are willing > to install that version). Vanilla System III and System V don't have > /etc/chgnod; they compile the system name into the kernel (which, of course, > assumes you have source, grumble grumble). I suspect "chgnod" is a UniPlusism; > on our System III (called PERPOS-S 1.10 or 1.11 for reasons you really don't > want to know about) it's done by doing "uname" which sets it > in /perpos (I *said* you didn't want to know...) and in /dev/kmem, so you > don't have to reboot. > > Methinks AT&T should get on the stick and put in such a facility as a standard > part of System V, as not all vendors are intelligent enough to realize that > it's necessary. > > Guy Harris > {seismo,ihnp4,allegra}!rlgvax!guy Another point to remember if you are running 4.2 uucp is that the names of some of the subdirectories in /usr/spool/uucp have the system node name as part of the directory name. Make will set this up correctly for you, but just typing "hostname " will not get everything straight. Steve Berl (nbires!steve)