Sponsored Content
Full Discussion: question about sys-unconfig
Operating Systems Solaris question about sys-unconfig Post 302127580 by dangral on Wednesday 18th of July 2007 04:37:43 PM
Old 07-18-2007
You will not lose any application or data from a sys-unconfig, the exception being all your hostname and network settings.

So you're pretty safe doing a sys-unconfig.
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Sys Administration

What happend to the Administration board, How come no one posts there? (1 Reply)
Discussion started by: tovsky
1 Replies

2. IP Networking

Network problem after sys-unconfig

I am running Solaris 8 and I have problem with configuration of the network after running sys-unconfig command: - I ran "sys-unconfig" command then the system reboot to "ok" prompt. I did a "boot disk" command and the system reboot - I lost all system info including host name and all addresses... (3 Replies)
Discussion started by: rachael
3 Replies

3. UNIX for Dummies Questions & Answers

login error after sys-unconfig, errno = 13

Hi, I have a SPARCstation 10 with SunOS 5.6 This erlier was in a network and now I have it at home to make a webserver. At fist there was NIS and things left from erlier. So the "Console login:" newer appered only the white window with sun logo topleft and some text info. I made... (14 Replies)
Discussion started by: roing
14 Replies

4. Solaris

[need help] about after running sys-unconfig and config network for v890

hi expert, i had do sys-unconfig for my v890 sparc and had config for eri0 network interface and hostname but after the server bring up i got this error messages : NIS domainname is www.USSDGmdn-4.com starting rpc services: rpcbind keyserv done. Setting netmask of eri0 to 255.255.255.0... (5 Replies)
Discussion started by: bucci
5 Replies

5. Solaris

sys-unconfig keeps hostname

Hi, I performed a sys-unconfig on a solaris 10 server twice and it did not ask for a new hostname. I did a fresh install. most of the time I have experienced that it asks for a new hostname. what happened? I know I could have edited some files but I prefer not to. thanks in advance, ~jv (3 Replies)
Discussion started by: jvmagic
3 Replies

6. UNIX for Dummies Questions & Answers

Solaris 10 sys-unconfig issue (brand new user)

ok, Newbie here..... I just installed this solaris 10 for a class I'm taking. We couldn't figure out how to change the IP so we were told to just do it from the sys-uncofig process. Well, after I did that, I lost the GUI witch isn't all that bad cuz I want to learn the cli anyways, but I keep... (1 Reply)
Discussion started by: moesays
1 Replies

7. UNIX for Advanced & Expert Users

sys-unconfig doesn't work after reboot

Hi All! I'm running "Solaris 10 10/08 s10s_u6wos_07b SPARC" on M5000. I ran sys-unconfig and after the machine rebooted the system did not prompt me for configuration info (system name, ip address, etc). I have also modified /etc/.sysIDtool.state changing all "1" to "0" and touch... (1 Reply)
Discussion started by: bluescreen
1 Replies

8. Solaris

sys-unconfig now can not log in

I did a sys-unconfig to change the domainname, Ip, subnet, hostname, and pretty much everything else that sys-unconfig handles. Upon reboot, it is toast. I did this all without the network cable plugged in. The following shows up on console: login: pam_unix_cred: cannot load ttyname Error 0 ... (3 Replies)
Discussion started by: adelsin
3 Replies

9. Programming

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(Apologies for any typos.) OSX 10.12.3 AND Windows 10. This is for the serious Python experts on at least 3.5.x and above... In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly. Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
sys-unconfig(1M)					  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 configuration to an "as-manufactured" state, ready to be reconfigured again. The system's configuration consists of hostname, 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 inter- faces 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 Network 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. 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 applications 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 shutdown. sys-unconfig is a potentially dangerous utility and can only be run by the super user. FILES
/etc/default/init process control initialization /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 /etc/vfstab virtual file system table /var/nis/NIS_COLD_START /var/yp/binding/*/ypservers ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWadmap | +-----------------------------+-----------------------------+ SEE ALSO
init(1M), kdmconfig(1M), sshd(1M), sysidconfig(1M), sysidtool(1M), hosts(4), netmasks(4), shadow(4), attributes(5) NOTES
sys-unconfig is not available on diskless clients. SunOS 5.10 4 Jun 2004 sys-unconfig(1M)
All times are GMT -4. The time now is 12:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy