修改Linux系统下用户uid,gid

1.需要root用户权限2.确保root用户登录,要修改用户退出终端usermod -u 100 test && groupmod -g 101 test #test用户uid改为100,gid改为10

7月前880