Is there a possibility to define a default group for new Users? I mean I define the group testgroup
as the default usergroup and when I add User1
and User2
, both new Users would be in the group testgroup
without defining this group on the useradd
command as following?
# useradd -G testgroup User1
With
# useradd -D
I get on the first line GROUP=100
. But when I add a new User, the new user is added to a group called as the new user but not to the group with the id=100
. For what is this definition?