HLJ 发布于
2022-11-20 18:23:03

查看用户的UID和GID

上一篇文章:

Linux环境变量

  • 查看用户hlj的uid和gid
    [hlj@localhost html]$ id hlj
    uid=1002(hlj) gid=1004(hlj) 组=1004(hlj)
    
    把hlj用户加入root组后,查看用户hlj的uid和gid
    [root@localhost /]# usermod -G root  hlj
    [hlj@localhost html]$ id hlj
    uid=1002(hlj) gid=1004(hlj) 组=1004(hlj),0(root)
    
当前文章内容为原创转载请注明出处:http://www.good1230.com/detail/2022-11-20/624.html
最后生成于 2023-08-15 14:32:55
上一篇文章:

Linux环境变量

此内容有帮助 ?
0