07-25-2001
Easiest one-step way is to run "sys-unconfig", and reboot. Fill in all the information when it prompts you.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
First of all, i am so sorry about my bad level in English writing.
I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me.
I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies
2. Linux
Hi all,
I tried to install Solaris 10 and then VMware ESX server v3.02 on the same PC (or hard drive). But after successfully installing Solaris 10, when I installed Vmware ESX Server on the same drive(but on different partition, boot menu is not coming.
It is just booting Vmware only.
Pls... (1 Reply)
Discussion started by: vikas027
1 Replies
3. UNIX for Dummies Questions & Answers
folks;
I'm going to use LDAP on Solaris 10 to authenticate users, i have 3 questions, i'm hoping it can be possible:
1. when users login for the first time, Is there a way to auto create a home directory like "/home/"user_name" so we don't have to a create a home directory for every single... (3 Replies)
Discussion started by: Katkota
3 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I just purchased 2 Ultra 10 servers and I want to practice with home networking. I want to create a private network where I can connect both boxes to the internet via broadband using my four port adsl modem/router. My ISP assigns me 192.168 addresses via DHCP and I use the ISP's DNS but... (1 Reply)
Discussion started by: Kongowea
1 Replies
5. Solaris
What gives?
# chmod 777 home
chmod: WARNING: can't change home
#
after I installed solaris 10, /home isnt writetable by anyone, when I try and change the perms as root, i get the above error. Anyone seen this before? (2 Replies)
Discussion started by: csaunders
2 Replies
6. Solaris
How to move home directory of NIS user from one system to another system in Solaris.
Thanks & Regards
Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
7. Solaris
Friends,
I am new to Solaris, but familiar with Linux. Could you throw some light on the need for /export/home directory in Solaris.
In Linux, the default home directory for a normal user is /home/<username>. If domain concept is implemented, then the /home directory of server will be mounted... (4 Replies)
Discussion started by: saagar
4 Replies
8. Solaris
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies
9. Solaris
I am interested in learning oracle solais 11 but I can't seem to find a discounted version/free version with security updates for home use (I would like to set it up as I would a real server for practice so I would like to get security updates I understand that there is a trial version but you... (3 Replies)
Discussion started by: crookedmaze
3 Replies
10. Shell Programming and Scripting
Good Morning,
I have 2 Solaris 9 machines sharing a NAS, and need to have users to be able to log in from the 2nd machine and get to all of their files on the NAS that were created on the 1st machine.
So far its working ok, but when users log in to the second machine, their user IDs show... (20 Replies)
Discussion started by: Stellaman1977
20 Replies
LEARN ABOUT NETBSD
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)