sudo usermod -d /path/to/new/home -m username sudo mv /old/home /new/home 转载于:https://www.cnblogs.com/fenle/p/6811614.html