Included Group Functions

Mwnci group functions that are not part of the builtin functions can be loaded with

include("grp")

Functions

Command Definition
getgrent() Returns a hash for a given group name or Gid
getgrgid() Returns a hash for a given Gid
getgrnam() Returns a hash for a given group name
getgroups() Returns an array of Gid’s that the given username belongs to
groups() Returns a hash of group names and associated Gid’s that a given user belongs to
hashgrp() Returns a hash of the entire group file keyed on group name