Information Technology News
UID and GID: the basics of Linux user admin | UID and GID: the basics of Linux user admin |
|
| by David M Williams | |
| Friday, 14 September 2007 | |
|
Page 2 of 3 The user ID (or UID) is a unique number that differentiates a user from any other user. The group ID (GID) determines the primary category of user that the user is. Groups may be things like ‘staff’, ‘student’, ‘engineering’, ‘research’, or any other descriptive term that can be used to partition users in a meaningful way.
Featured Whitepaper
5 Best Practices for Smartphone Support
groupname:password:groupID:users
financial::200:jones,smith,fred
One use for groups is with project teams who may require access to the same set of materials, such as project guidelines, data, and documents. Creating either a separate partition or a section in the main file system for all of these team files to reside on reduces the need for excessive use of symbolic links between user directories. Set the permissions appropriately such that group members can enter and work. Another nice use for groups is to even use them to restrict access. If you have a set of people who just simply should not have access to a specific file or directory, then you can put them into a group and then deny access to that group for the file or directory while giving access to the owner and to the rest of the ‘world’.
|
| < Next story in category | Previous story in the category > |
|---|






