- Linux Training
- Desktop Tutorials
- Server Tutorials
|Linux Commands - Manage Users and Groups|
This command will change group assignments which are associated with a file or directory.
chgrp admin fred.info
This will change the group assigned to this file from fred to the admin which could be a more restricted group.
To create a new group you will have to select a name and a GID (group identification number). You can manually select the number you want or allow the program to select the next available number.
When you choose group properties you can select what users you want to place in your group simply by placing a check mark next to their name.
Here you can see three members have been added to the TechSupport group.
If you had a large number of users and groups you may want to filter how you view your information. By choosing the filter "TechSupport" you will see the TechSupport group as well as the members of that group.