Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site rlgvax.UUCP Path: utzoo!utcsrgv!garfield!dreacad!dalcs!dartvax!decvax!decwrl!amd!fortune!hpda!hplabs!hao!seismo!rlgvax!guy From: guy@rlgvax.UUCP Newsgroups: net.bugs.uucp Subject: Re: Re: How to change nodenames Message-ID: <103@rlgvax.UUCP> Date: Fri, 14-Sep-84 01:56:22 EDT Article-I.D.: rlgvax.103 Posted: Fri Sep 14 01:56:22 1984 Date-Received: Sat, 15-Sep-84 07:14:30 EDT References: <750@enea.UUCP> <801@dual.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 34 > >> 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