home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


getgrnam

getgrnam 
name

Retrieves a group file entry by the group name name . The return value in list context is:

($name, $passwd, $gid, $members)
where $members contains a space-separated list of the login names of the members of the group. In scalar context, getgrnam returns only the numeric group ID.