[CentOS] Moving the Home dir to new server

Todd Cary todd at aristesoftware.com
Fri Sep 2 03:51:50 UTC 2005


Dave -

I am curious what is done in an environment with many users.

Todd

Dave wrote:

>On 9/1/05, Todd Cary <todd at aristesoftware.com> wrote:
>  
>
>>I have a new Centos installation that has an empty /home dir and there
>>are no users...just root.  I want to move the home directory from
>>another server to the new one.  At this time the old /home directory has
>>been tarred with "-prf".  That will keep permissions which could be a
>>problem.
>>    
>>
>
> I only have a few users on my machine. What I do is, use useradd or
>what not to create the users in the same order as the UID. Copy over
>the home dirs, moving the newlly created ones elsewhere. Then copy and
>paste the crypted password in the shadow file.
>
> You could paste the users from /etc/passwd shadow and group if you
>have a lot of users instead of creating the accounts.
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>http://lists.centos.org/mailman/listinfo/centos
>
>
>  
>

-- 
Ariste Software
200 D Street Ext
Petaluma, CA 94952
(707) 773-4523

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20050901/116bdf27/attachment.html>


More information about the CentOS mailing list