Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: cyberdude on March 07, 2004, 12:43:14 PM

Title: how to finde a groups id (GID) ??
Post by: cyberdude on March 07, 2004, 12:43:14 PM
Hi!!

I have just instaled the lazy-admin tool, and is in the process of creating a larg number of users (200+)
i have in the user-manager pannel createt a new group to the users, but now i can't seam to find the GID of the group - this GID shoud be used in the lazy-admin tool so the users voud be added into the corect group...

Where shoud i look for this information ?
Title: how to finde a groups id (GID) ??
Post by: mrjhb3 on March 07, 2004, 02:19:31 PM
how about /etc/group.
Title: extra info
Post by: genzil on March 07, 2004, 05:03:37 PM
id [USERNAME] name will show the users id (uid), the users main group id (gid) and other groups id (groups).

So for me:
[craig@tuxx craig]$ id craig
uid=5008(craig) gid=5008(craig) groups=5008(craig),500(shared),5003(cg_admin),5004(usag)

Shows that I have an id of 5008, my main group id is 5008, and my other groups have an id of 500,5003 and 5004.