5.19 更换用户名及家目录

终端执行sudo init 3进入shell,并以root账户登陆,之后执行:
usermod -l new_username -d /home/new_username -m old_username
groupmod -n new_username old_username

Copyright © DOSU community 2020 all right reserved,powered by Gitbook该文章修订时间: 2020-09-12 12:06:10

results matching ""

    No results matching ""