32
2022-11-20 18:42:03 32阅读 0喜欢
[root@localhost ~]# groupadd [选项] 组名
[root@localhost ~]# groupmod [选现] 组名
[root@localhost ~]# groupdel 组名
26
2022-11-20 18:23:03 26阅读 0喜欢

查看用户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)
944访问人次
Camila Waz 2022-01-22 18:22:10
2022-11-20 18:00:38 40阅读 0喜欢
2022-11-20 11:15:11 39阅读 0喜欢
2022-11-19 10:01:16 125阅读 0喜欢
2022-11-13 21:14:01 92阅读 0喜欢
2022-11-13 10:28:47 142阅读 0喜欢
2019-11-16 12:13:31 62阅读 0喜欢
  • 1
  • 2
  • 共有 17 条数据