Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Reinstall Solaris 8 in a Sun server

We need to reinstall solaris 8 in our Sun E-250 server.
We installed it to a new hard drive today. So, we are able to access to the old hard drive and the new hard drive after reinstall.

We copied the directory /export/home/ from the old hard drive to the new hard drive today. please let me know what other files do I need to copy from old hard drive to new hard drive? Then our users are able to login to the server without reset up all of the user account and password.

By the way, IP address, Hosts, hostname and     hostname.hme0 are set, and the server are able to talk to network at this time.

Thank you for your help.
0
stanleytg
Asked:
stanleytg
  • 3
  • 3
1 Solution
 
yuzhCommented:
You need to copy:

/etc/passwd
/etc/shadow
/etc/group

if you are using NIS/NIS+, your need: [just in case you  use nis/nis+ miss with files (local account)]
/etc/nsswitch.conf

/etc/auto_direct
/etc/auto_home
/etc/auto_master


Cheers!



0
 
OtetelisanuCommented:
/etc/hosts
/etc/vfstab
make
pkginfo >pkginfo.log    (software)
showrev -p >showrev.log (patch)

0
 
OtetelisanuCommented:
.profile
.rhosts
/etc/hosts.equiv
/etc/ftpusers
.....
and all file what
you have change
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
OtetelisanuCommented:
I forgot very important file:
/etc/system
0
 
yuzhCommented:
you might want to copy:

/etc/mail/sendmail.cf

and all the aliase files in /etc/mail

/etc/init.d/inetinit
(if you have change it in your old HD, I always may change to this file for my systems !)

0
 
stanleytgAuthor Commented:
It works! Thanks for all of your help.
0
 
yuzhCommented:
Case close !
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now