How to migrate NFS account to local?

Discussion in 'Mac OS X Server, Xserve, and Networking' started by benten1012, Oct 14, 2010.

  1. benten1012 macrumors newbie

    Joined:
    Oct 14, 2010
    #1
    Hi folks, can anyone tell me the best way to move an NFS home account to a local user account of a macbook pro? I'm hoping for a seamless transition retaining all of the shortname, password, permissions, etc.

    Can I copy the NFS users with: $ sudo cp -pr /Volumes/nfsusers/userexample /Users/

    And then create a local account on the macbook with the same username/pw?

    Thanks!
     
  2. rhoydotp macrumors 6502

    rhoydotp

    Joined:
    Sep 28, 2006
    #2
    assuming that the NFS mount has "root" permission on the share

    your command should work or I would usually run the following to copy the directory tree

    $ sudo su -
    # (cd /Volumes/nfsusers; tar cf - . ) | ( cd /Users; tar xpf - )

    i'll create the users locally beforehand ... but should not matter.

    have fun
     

Share This Page