Path: utzoo!attcan!uunet!snorkelwacker!usc!samsung!umich!terminator!eh.ifs.umich.edu!srb From: srb@eh.ifs.umich.edu (Steve Burling) Newsgroups: comp.unix.aix Subject: Re: Changing an AIX's name --- how to do it easily? Keywords: AIX Message-ID: <1990Jun14.123848.11841@terminator.cc.umich.edu> Date: 14 Jun 90 12:38:48 GMT References: <1990Jun13.212142.11062@maytag.waterloo.edu> Sender: usenet@terminator.cc.umich.edu (usenet news) Distribution: na Organization: University of Michigan, IFS Project Lines: 43 Here's the technique used by one of the other guys on the project to change ps/2 system name: 1. replace all occurrences of the old system name with the new system name in the following files: /etc/fsmap /etc/fstab /etc/hosts /etc/ports /etc/site /etc/system.bk /generic/install/siteinfo 2. build and install a kernel with the new name: a. cd /usr/sys newkernel 3. rename the (only) special device file in the following directory from the old system name to the new system name: /generic/dev 4. change / to the new system name: a. boot the os boot floppy b. run the os maintenance disk c. get a single user shell d. mount /dev/hd35 /mnt cd /mnt mv cd / umount /dev/hd35 e. exit the single user shell and boot from the hard disk note: /dev/hd35 above is magic; you'll have to mount all of the /dev entries on the floppy one by one to find the one which represents / on the hard disk. No guarantees -- make sure you have a backup... -- Steve -------------------------------------------------------------- Steve Burling Internet: srb@ifs.umich.edu Institutional File System Project BITNET: usersrb@umichum