Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to add user to group in Linux

📅 2012-Oct-30 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ group, linux, user ⬩ 📚 Archive

$ sudo adduser JoeUser FooGroup
$ sudo adduser JoeUser sudo
$ sudo usermod -a -G FooGroup JoeUser

Tried with: Ubuntu 16.04