[rhn-users] upgrade question

branchjonbranch at netscape.net branchjonbranch at netscape.net
Mon Mar 29 03:14:18 UTC 2004


Hi

If you want to restore your system to the same version of Red Hat Linux then you should first back up copies of the following;-

/etc/passwd
/etc/shadow
/etc/group
/etc/hosts
/etc/samba/smb.conf
/etc/samba/smbpasswd
/etc/samba/smb.users

as a minimum.

If you have other services configured (such as dhcp for example) you can also back up the configuration files for them also.

You can also back up the entire /home directory.

When you have re-installed from scratch it works best to open the smbpasswd, passwd and shadow files in a text editor like gedit and copy and paste the additional account information into the new files the install created.

For user accounts you will probably need to manually set the ownership for each one as you restore accounts. This is a pain in the neck if you have a few hundred users but doesn´t take a horrendous time if you use the command line:-

chown -vR username /home/username

If you run and upgrade, to Red Hat 9 this will probably restore everything. Its worth a try.

Regards

Jon Branch

"Vortek, Eater Of Souls!" <vortek at the-bofh.com> wrote:

>Hello,
>I'm just wondering if there is a way to either simply upgrade to a new
>version, or run a system restore of sorts. please excuse the story, but
>it will help explain my question I think.
>I had a power outage yesterday, and when I finally was able to reboot, a
>lot of my system seemed to be corrupt, for an example, samba no longer
>accepts connections from windows XP computers on my network, and cron
>doesn't seem to be running properly.
>I'm currently running redhat 8.0, and I'm just wondering if there is a
>way I can pop my redhat 8 disks in to my cdrom drive, and do some form
>of system restore, or if I can simply pop redhat 9 disks in and upgrade
>to rh9 preserving all my configuration files, and home folders.
>Any help will be greatly appriciated, thanks.
>
>
>
>_______________________________________________
>rhn-users mailing list
>rhn-users at redhat.com
>https://www.redhat.com/mailman/listinfo/rhn-users
>

__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp





More information about the rhn-users mailing list