Merge pull request #13422 from wxy/20190409-Four-Methods-To-Add-A-User-To-Group-In-Linux

PRF:20190409 Four Methods To Add A User To Group In Linux
This commit is contained in:
Xingyu.Wang 2019-04-27 12:52:37 +08:00 committed by GitHub
commit 2823daab93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ mygroup1:x:1013:
#### 如何使用 usermod 命令将现有的用户添加到次要组或附加组?
要将现有用户添加到辅助组,请使用带有 `-g` 选项和组名称的 `usermod` 命令。
要将现有用户添加到辅助组,请使用带有 `-G` 选项和组名称的 `usermod` 命令。
语法: