Upgrading RH8 to RH9 - accounts?
Alma J Wetzker
almaw
Mon May 17 11:53:51 PDT 2004
Kurt Wall <kwall at kurtwerks.com> Thu, 18 Sep 2003 21:52:53 -0400
> Quoth Alma J Wetzker:
>
>>Michael Hipp <Michael at Hipp.com> Thu, 18 Sep 2003 16:23:07 -0500
>>
>>>Net Llama! wrote:
>>>
>>>
>>>>Why would you need to cheat? Are you using the 'upgrade' optoin from the
>>>>RH9 Installer, or do you mean, reload the box fresh with RH9? If you're
>>>>reloading, then you need to backup all of /home and backup /etc/passwd,
>>>>/etc/group & /etc/shadow
>>>
>>>So if I backup the files mentioned above and by Keith Morse, the
>>>accounts will be there just as they were before and won't have to be
>>>re-entered?
>>
>>That should keep all your data. Owner information may be a problem with
>>the /home stuff depending in how you do it (a real backup that preserves
>>owner/group data as opposed to a cp from a backup CD for instance.). I
>>think the accounts need to exist for the data to keep the owners.
>
>
> The files and directories will retain the UIDs and GIDs, so when the
> proper password and group files are restored, the UIDs and GIDs will
> map to the appropriate names.
<Clueless Mode>
I thought that if I cp'd stuff to a CDR that the owner changed to who
cp'd the files. I haven't tried gziping them and uzgziping but I
thought the owner was the one who did the restore. (I vaguely remember
an option on *zip to preserve owner, but I never used it.) I know with
tar or cpio ownership can be preserved.
Is the owner preserved now regardless of how the restore is done?
</Clueless Mode>
-- Alma
More information about the Linux-users
mailing list