Re: How to preserve users in new install?

From: Peter Boy (pboy_at_barkhof.uni-bremen.de)
Date: 05/31/04

  • Next message: Ron Palmer: "Re: Configuring ACPI to do useful things?"
    To: fedora-list@redhat.com
    Date: Mon, 31 May 2004 08:50:19 +0200
    
    

    Am Mo, den 31.05.2004 schrieb romildo@uber.com.br um 04:53:
    > Is it enough to backup /etc/{group,passwd,shadow} and
    > /home/* before installation, and restore them afterwards?
    > Will the users will be back and functional after that?

    That should do it. But don't forget gshadow. I did it several times on
    Linux and other Unices. Instead of overwriting the passwd, shadow,....
    made by the installation you should use an editor to add the lines of
    the old passwd, shadow,...., referring to your users, to the new one.
    Sometimes some new system users are added (or before you overwrite you
    should compare for new system users - but if I remember correctly there
    are none in FC2).

    Switching to another distro, as others suggested, may not be as easy.
    Some start with different UID (e.g. Fedora starts with 500, Mandrake
    with 501, SuSE with 1000). It depends on the distro's usage of the
    number space below those starting values wether you have to make
    adjustments or not.

    Peter

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ron Palmer: "Re: Configuring ACPI to do useful things?"