|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
System Administration Commands sys-unconfig(1M)
NAME
sys-unconfig - undo a system's configuration
SYNOPSIS
/usr/sbin/sys-unconfig
DESCRIPTION
The sys-unconfig command is used to restore a system's con-
figuration to an "as-manufactured" state, ready to be recon-
figured again. The system's configuration consists of host-
name, Network Information Service (NIS) domain name,
timezone, IP address, IP subnet mask, and root password.
This operation is the inverse of those performed by the
sysidnet(1M), sysidns(1M), and sysidsys(1M) programs run at
boot. See sysidtool(1M).
sys-unconfig does the following:
o Saves current /etc/inet/hosts file information in
/etc/inet/hosts.saved.
o If the current /etc/vfstab file contains NFS mount
entries, saves the /etc/vfstab file to
/etc/vfstab.orig.
o Restores the default /etc/inet/hosts file.
o Removes the default hostname in /etc/hostname.interface
files for all interfaces configured when this command
is run. To determine which interfaces are configured,
run the command 'ifconfig-a'. The
/etc/hostname.interface files corresponding to all of
the interfaces listed in the resulting output, with the
exception of the loopback interface (lo0), will be
removed.
o Removes the default domainname in /etc/defaultdomain.
o Restores the timezone to PST8PDT in /etc/TIMEZONE.
o Disables the Network Information Service (NIS) and Net-
work Information Service Plus (NIS+) if either NIS or
NIS+ was configured.
o Removes the file /etc/inet/netmasks.
o Removes the file /etc/defaultrouter.
o Removes the password set for root in /etc/shadow.
o Removes the file /etc/.rootkey.
SunOS 5.10 Last change: 4 Jun 2004 1
System Administration Commands sys-unconfig(1M)
o Executes all system configuration applications. These
applications are defined by prior executions of a
sysidconfig -a application. (See sysidconfig(1M)). When
sys-unconfig is run, all system configuration applica-
tions are passed one argument, -u.
o Removes the file /etc/resolv.conf.
o Disables LDAP by removing /var/ldap/ldap_client_cache,
/var/ldap/ldap_client_file, /var/ldap/ldap_client_cred,
and /var/ldap/cachemgr.log.
o Regenerates keys for sshd(1M).
When sys-unconfig is finished, it performs a system shut-
down. sys-unconfig is a potentially dangerous utility and
can only be run by the super user.
FILES
/etc/default/init process control initializa-
tion
/etc/defaultdomain
/etc/defaultrouter
/etc/hostname.interface
/etc/inet/hosts host name database
/etc/inet/netmasks network mask database
/etc/nodename
/etc/.rootkey super-user's secret key
/etc/shadow shadow password file
SunOS 5.10 Last change: 4 Jun 2004 2
System Administration Commands sys-unconfig(1M)
/etc/vfstab virtual file system table
/var/nis/NIS_COLD_START
/var/yp/binding/*/ypservers
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWadmap |
|_____________________________|_____________________________|
SEE ALSO
init(1M), kdmconfig(1M), sshd(1M), sysidconfig(1M),
sysidtool(1M), hosts(4), netmasks(4), shadow(4), attri-
butes(5)
NOTES
sys-unconfig is not available on diskless clients.
SunOS 5.10 Last change: 4 Jun 2004 3
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:26:43 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
CPAN man page (4290 hits) (Suse Linux 10.1)
ssh man page (4160 hits) (Suse Linux 10.1)
adv_cap_autoneg man page (3470 hits) (Solaris 10 11_06)
sqlite3 man page (3370 hits) (openSUSE 10.2)
svn man page (3036 hits) (FreeBSD 6.2)
startproc man page (1856 hits) (Suse Linux 10.1)
pprosetup man page (1576 hits) (Solaris 10 11_06)
signal man page (1541 hits) (Suse Linux 10.1)
netcat man page (1508 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (1450 hits) (Solaris 10 11_06)
|