02-24-2006
like andryk said, sys-unconfig is the recommended by also by SUN (working for a SUN partner). you can but shouldnt change those settings by hand, sys-unconfig is your friend, and I´ve used it really often for example when installing a server and you dont´ know the customers settings, than you just enter sys-unconfig when your done and the customer will have a normal solaris question+answer when he first startup.
Sys-unconfig will do:
x) Revert to a blank system, no hostname, no IP settings, no language selected, no name service and so on...
x) Will bring the SUN down to the OBP
x) Then just boot with "boot" and you will get the normal solaris installation menu.
greetz
10 More Discussions You Might Find Interesting
1. Solaris
I've installed sun solaris 9 and i need to know how can i enable TCP Keepalive to ping socket connections every 300 seconds?
Thanks,
Mohammed Amin (1 Reply)
Discussion started by: m_amin
1 Replies
2. Solaris
Hi,
I need help from SOLARIS expert. Can someone please tell me how to change the IP address on SUN Solaris?
I have two NMS-SUN machines (Ultra 10) running on Solaris ver. 8 to manage our network with the following IP addresses and SM:
cwmws1: 10.10.100.2 255.255.255.0
cwmws2:... (3 Replies)
Discussion started by: gkr
3 Replies
3. UNIX for Dummies Questions & Answers
Hey there,
I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies
4. Solaris
hi,
I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies
5. Solaris
I am new to Sun.
I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor?
Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies
6. Solaris
Hi everyone,
Normally it always easier in Sparc machine, i can set or manually use the boot-device in NVram to boot the mirrored disk. However I have a big trouble about x86 mirror for a long time. I have been doing anything i can: search document, google, ask the others.
Recently i did as... (5 Replies)
Discussion started by: tien86
5 Replies
7. IP Networking
This is probably really basic compared to what you guys are usually talking about here, but I have a problem and I have no idea what to do about it. I try to RSH to my Ubuntu computer from my Solaris one and run into a dead end:
>> rsh 192.168.1.103
::ffff:192.168.1.103: Connection timed out... (4 Replies)
Discussion started by: Bradj47
4 Replies
8. Solaris
Is it possible to install 2 flavors of Unix on a single machine ?
-HP Unix
-SUN Solaris
Please provide sufficient information to carry both of the above OS installation on single machine.Any guide/steps/document will do. (3 Replies)
Discussion started by: mahix
3 Replies
9. Solaris
My one Sun machine is not able to ssh another machine of Sun. Although I have configured the ssh successfully
( SunOS sunbox2 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Blade-2500 )
ERROR
bash-2.05# ssh sunbox2
/etc/ssh/ssh_config: line 34: Bad configuration option: PermitRootLogin... (0 Replies)
Discussion started by: z_haseeb
0 Replies
10. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
LEARN ABOUT SUNOS
sys-unconfig
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)