1、useradd test
2、passwd test
3、usermod -s 脚本绝对路径 test
4、vi /etc/passwd修改test用户的uid和gid为0
posted on 2022-02-28 12:06 狄成 阅读(738) 评论(1) 收藏 举报