On Fri, Jul 12, 2002 at 10:55:01AM -0400, Edward Marczak wrote: > Reuben D. Budiardja wrote: > > > Hi, > > I am going to do a fresh install of RH. 7.3 on one of our machine here, > > that has RH 5.1. However, there are many users in that machine, and I > > don't want to have to re-create every users, plus I am not the original > > admin of the machine, so I don't know every users there. > > > If you grab the passwd, shadow and group files, that'll list them all. > Now, I obviously don't know if you have any custom applications that may > list users differently. Best bet: tar up the entire /etc directory. > Also, don't forget about other config files stored outside of /etc (e.g. > - /usr/local/apache or /usr/local/named, if you use those). > > > So my question is, is there anyway I can keep all the users and passwd > > so that after the upgrade, the users can still be there? The only think > > came to my mind is to backup /etc/passwd. Will that work? or am I > > missing something? > > > You're missing: > > /etc/shadow > /etc/group
And don't forget gshadow - the group shadow file. You'll also want to have a careful look at the password files since a fresh install of 7.3 will very likely add users and groups that aren't there in your old 5.1 system. I don't know if any accounts changed their uids or gids between releases. Have a good look at all accounts with a uid < 500. Simply restoring your old files may not be good enough. -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list