Add User to Group In Linux

We can use the usermod command to add a user to a group. Here I am going to add the user grokman to the group adm: root@myserver:~# sudo usermod -aG adm grokman root@myserver:~# exit Connection to myserver closed. root@myserver:~# ssh myserver Welcome to … root@myserver:~# groups admin adm sudo www-data In Debian / Ubuntu, the […]

Add User to Group In Linux Read More ยป