linux add multiple users to a group at once code example
Example: how to add multiple users to group in linux
gpasswd -M userA,userB,userC mygroup
#if gpasswd is available on system.
gpasswd -M userA,userB,userC mygroup
#if gpasswd is available on system.