Home > OS >  ~ why new user specified group failure
~ why new user specified group failure

Time:11-04

[root @ localhost ~] # groupadd 182203
/root @ localhost ~ # cat/etc/group | grep 182203
182203: x: 1011:
/root @ localhost ~ # useradd - m - G 182203 18220325
Useradd: group '182203' does not exist


What reason is this excuse me? Ming group have been added to

CodePudding user response:

- G behind can be a user group name or gid, if it is a full digital, default is gid
It can be: useradd - m - 1011, 18220325, # 1011 is the user group 182203 G gid
  • Related