Add user to secondary group:
useradd -G {group-name} username
Add NEW! user to primary group:
useradd -g {group-name} username
Add a EXISTING! user to existing group
usermod -a -G {group-name} username
useradd -G {group-name} username
Add NEW! user to primary group:
useradd -g {group-name} username
Add a EXISTING! user to existing group
usermod -a -G {group-name} username
Комментариев нет:
Отправить комментарий