Zyp*_*her 10
您要使用该usermod
命令。您将要使用-m
和-d
指令来修改其主目录并移动其内容:
Run Code Online (Sandbox Code Playgroud)-d, --home HOME_DIR The users new login directory. If the -m option is given, the contents of the current home directory will be moved to the new home directory, which is created if it does not already exist. -m, --move-home Move the content of the users home directory to the new location. This option is only valid in combination with the -d (or --home) option.
归档时间: |
|
查看次数: |
9372 次 |
最近记录: |