Linux下切换用户根目录的指令

执行

usermod -d /shares/Storage/ ftp

会将用户ftp的根目录(~位置)修改为/shares/Storage/

原文地址:https://www.cnblogs.com/zifeiy/p/9360113.html