char *userName = getenv("USER")
nit gid = getgrnam(userName)->gr_gid;