Package COM.INFORMATIMAGO.COMMON-LISP.UNIX.GROUP


This package exports a function to read unix group files.


License:

    AGPL3

    Copyright Pascal J. Bourguignon 2004 - 2015

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.
    If not, see <http://www.gnu.org/licenses/>

group
structure
A unix /etc/group group.
(group-gid group)
function
The group ID.
(group-name group)
function
The name of the group.
(group-passwd group)
function
The password of the group.
(group-users group)
function
The list of user logins (strings).

MAKE-GROUP

(read-group &optional group-file-path)
function
DO:                 Read the group file.
GROUP-FILE-PATH:    The pathname to the group file; default: "/etc/group"
RETURN:             A list of group GROUP structures.