What is the difference between
adduser user_name group_name
and
usermod -G -a user_name group_name
At first glance they seems to do the same thing : add a user to a group.
addusercommand linegroupsuseradd
What is the difference between
adduser user_name group_name
and
usermod -G -a user_name group_name
At first glance they seems to do the same thing : add a user to a group.
Best Answer
adduser
andusermod
are two different utilities which have in common the fact that both can add a user to a group.According to man adduser
More info: