How to add an existing user to an existing group?

Hi group,

I'm a user as user1 and also an existig group as developers so when I try:

               useradd -G developers  user1

it returns

      user user1 exists.

My quesiton: How can I add this user to the group?

Regards,
ak
akohanAsked:
Who is Participating?
 
imalc3142Connect With a Mentor Commented:
0
 
akohanAuthor Commented:
Thanks!
0
All Courses

From novice to tech pro — start learning today.