Available only on Sun 386i systems running a SunOS 4.0.x release or earlier. Not a SunOS 4.1 release feature.
unconfigure restores most of the system configuration and status files to the state they were in when delivered by Sun Microsystems, Inc. It also deletes all user accounts (including home directories), Network Information Service (NIS) information, and any diskless client configurations that were set up.
After running unconfigure, a system halts. Rebooting it to multi-user mode at this point will start automatic system installation.
unconfigure is intended for use in the following situations:
unconfigure is potentially a dangerous utility; it does not work unless invoked by the super-user. As a warning, unless the -y option is passed, it will require confirmation that all user files and system software configuration information is to be deleted.
This utility is not recommended for routine use of any sort.
To reset a temporary configuration, just become the super-user and invoke unconfigure.
Automatic system installation directly supports upgrading a single standalone system to an NIS master, and joining any number of unused systems (or systems upon which unconfigure has been run) into a network.
However, in the situation where standalone systems that have been used extensively are to be joined to a network, unconfigure can be used in conjunction with automatic system installation by a knowledgeable super-user to change a system's configuration from standalone to network client. This procedure is not recommended for use by inexperienced administrators.
The following procedure is not needed unless user accounts or other data need to be preserved; it is intended to ensure that every UID and GID is changed so as not to clash with those in use on the network. It must be applied to each system that is being upgraded from a standalone to a network client.
The procedure is as follows:
unconfigure
deletes the following files, if they are present,
replacing some of them with the distribution version if
one is supposed to exist:
/etc/.rootkey /etc/ethers /etc/localtime /etc/publickey /etc/auto.home /etc/exports /etc/net.conf /etc/sendmail.cf /etc/auto.vol /etc/fstab /etc/netmasks /etc/syslog.conf /etc/bootparams /etc/group /etc/networks /etc/systems /etc/bootservers /etc/hosts /etc/passwd /single/ifconfig /var/sysex/*
and all files in /var/yp except those distributed with the operating system.
unconfigure truncates all files in /var/adm. All user home directories in /export/home are deleted, except those for the default user account users, which is shipped with the operating system. All diskless client configuration information stored in /export/roots, /export/swaps, and /export/dumps is deleted.
More of the system configuration files should be reset.
This does not yet support taking a workstation off the network temporarily, for example, to take it home over the weekend for use as a standalone, or to move it to another network while traveling. This should be the default behavior.
The procedure for upgrading standalones to network clients should be automated; currently, only upgrading a standalone to a master server is automated.
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97