RE: Prepping for system wipe & reload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of David A. Woyciesjes
> Sent: Tuesday, February 13, 2007 2:33 PM
> To: CentOS mailing list
> Subject: Re:  Prepping for system wipe & reload
> 
> Ross S. W. Walker wrote:
> >> -----Original Message-----
> >> From: centos-bounces@xxxxxxxxxx 
> >>
> >> 	Here's the checklist I have so far:
> >> 1 - /home partition - separate drive
> >> 2 - Files copied to the second drive:
> >> /etc/X11/xorg.conf
> >> rpm for RPM forge
> >> /etc/yum - entire folder
> >> /etc/yum/repos.d - entire folder
> >> /etc/yum.conf
> >> /etc/yumex.conf
> >> /etc/yumex.profiles.conf
> >> 3 - Files installed via Yum(ex) - Hmmm, need to figure this 
> >> one out. Any 
> >> pointers?
> > 
> > Sounds like the rpm --setugids didn't work?
> 
> 	May have, but something is still funky with the user profiles.

You can fix home directories with this shell command:

 getent passwd | awk -F: '{system("if [ -d /home/"$1" ]; then chown -R
"$3":"$4" /home/"$1"; fi")}'

These ticks are the straight or forward ticks beside the <Enter> key.

This will set all user home directory ownership back to their own.

Re-installing will not fix these perms anyways!

> > Did you have any /usr/local applications installed?
> 
> 	Nope. Just stuff via yumex.
> 
> > You can use rpm --verify along with it's options to find 
> config files
> > that have been modified from their defaults and copy those over.
> 
> 	That I'm not too terribly worried about.
> 
> > The next install should set all the /etc/X11 stuff for you, 
> no need to
> > copy it.
> 
> 	Well I have a nVidia Quadro2 Pro AGP, and a Matrox 
> MilleniumII PCI for 
> my dual head setup. It took a little fiddling to get the resolution 
> settings I wanted, so this will save time. :)
> 
> > You only really need the rpmforge repo def in 
> /etc/yum.repos.d unless
> > you have a lot of excludes defined in yum.conf.
> 
> 	Okay. Thanks.
> 
> 	Overall, with all things considered, a wipe is probably 
> the best course 
> of action. Good thing I had /home on a separate 
> partition(well, drive).
> -- 
> --- David Woyciesjes
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux