[jackluo@localhost .ssh]$ sudo groupadd git #创建 用户组
[jackluo@localhost .ssh]$ sudo adduser --system --shell /bin/bash --group git    #创建用户
[jackluo@localhost .ssh]$ sudo adduser -G  git ssh #把git 加入ssh 组

 

相关文章:

  • 2021-12-12
  • 2021-06-23
  • 2021-10-15
  • 2022-01-10
  • 2021-09-27
  • 2018-11-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-12-08
  • 2021-07-15
相关资源
相似解决方案