Re: [PLUG] Moving a lot of user accounts

Fred K Ollinger on 2003年1月31日 16:01:07 -0500


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

Re: [PLUG] Moving a lot of user accounts


> i think the biggest factor to how simple this is going to be has
> to do with what what was running on the old box being taken out
> of commision. if they're both redhat, i believe* you should be
> able to copy the related lines over. you'll also probably want
> the related lines of /etc/group as well, and other than that you
> shouldn't get too many headaches. just remember to preserve file
> attributes when you tar/pax/rsync/whatever everything over. some basic
> stuff i'd keep an eye out for:
>
> - overlapping/conflicting uids on the new system
> - overlapping/conflicting gids on the new system
> - changed gids for distribution-specified groups or users
> - the existance of all the shells that the users use
> - if the old box isn't redhat, differences in passwd/shadow formats
I regularly copy user and group and shadow lines from a solaris 7 box to a
debian 3.0 box and it works flawlessly. If you need a copy of the perl
scripts, I can oblige.
Fred Ollinger
_________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion -- http://lists.netisland.net/mailman/listinfo/plug



AltStyle によって変換されたページ (->オリジナル) /