Today I had to add an existing user to an existing group in Linux. It’s been so long since the last time I did it that I had actually forgotten how to do it. Well, good ol’ man pages to the rescue. Here’s how to do it:
adduser user group
If you want to verify that it worked, use grep:
grep group /etc/group
In grep’s output, you should see the user’s name. For example:
group:!:50:tom,dick,harry,user
Enjoy!






