Re: Prepping for system wipe & reload

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





Ross S. W. Walker wrote:
-----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!


It will if I say screw it and wipe everything! ;-) Well, except for bookmarks and mailfiles... There's only a couple of those...

--
--- David Woyciesjes

_______________________________________________
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