Linux - group

linux

What is the format of the /etc/group file?

groupName:*:GID:additional users

How can we add a user to a group?

sudo usermod -a -G vboxsf ahmed
sudo usermod -a -G groupName userName
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License