Method System.initgroups()
- Method initgroups
void initgroups(string name, int base_gid)
- Description
Initializes the supplemental group access list according to the system group database. base_gid is also added to the group access list.
- Note
Throws errors on failure.
This function is not available on all platforms.
- See also
setuid(), getuid(), setgid(), getgid(), seteuid(), geteuid(), setegid(), getegid(), getgroups(), setgroups()