centos7添加用户,组。

groupadd projectUsers   //添加组,组名projectUser。

cat /etc/group        //查看最后一行是projectUser。

添加用户并指定用户的组。如果不指定以用户名为组。

centos7  添加用户,组

 

userdel -r user4  同时删除用户和组。

参考:https://blog.csdn.net/jiandanjinxin/article/details/51920812

     https://www.cnblogs.com/zutbaz/p/4248845.html

相关文章:

  • 2021-12-05
  • 2022-02-09
  • 2021-10-18
  • 2021-08-04
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2021-09-24
  • 2021-11-16
  • 2021-12-04
  • 2021-10-16
相关资源
相似解决方案