SYS-UNCONFIG(8)

NAME
sys-unconfig - undo a system's configuration

SYNOPSIS
/usr/etc/install/sys-unconfig

DESCRIPTION

sys-unconfig packs up a machine to make it ready to be configured again.

It restores a systems's configuration to an “as-manufactured” state. A system's configuration consists of hostname, Network Information Service (NIS) domain name, timezone and IP address.

sys-unconfig does the following:

    •   Restores the default /etc/hosts file.

    •   Removes the default hostname in /etc/hostname.??[0-9].

    •   Removes the default domainname in /etc/defaultdomain.

    •   Removes the default /usr/lib/zoneinfo/localtime file.

    •   Disables the Network Information Service (NIS) if the NIS service was requested.

When sys-unconfig is finished, it will perform a system shutdown.

sys-unconfig is potentially a dangerous utility and can only be run by the super-user.

FILES
/etc/hosts
/usr/lib/zoneinfo/localtime
/usr/etc/install/sys_info

NOTES

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.