DBD::Sys::Plugin::Unix::Groups - provides a table containing operating system user groups


Back to Top


NAME

DBD::Sys::Plugin::Unix::Groups - provides a table containing operating system user groups

Back to Top


SYNOPSIS

  $groups = $dbh->selectall_hashref("select * from grent", "groupname");

Back to Top


ISA

  DBD::Sys::Plugin::Unix::Groups;
  ISA DBD::Sys::Table

Back to Top


DESCRIPTION

This module provides the table grent filled the data from the group database group(5).

COLUMNS

groupname

Name of the group

grpass

Encrypted password of the group

gid

Numerical group id of the users primary group

members

Numerical count of the members in this group

Back to Top


METHODS

getTableName

Returns 'grent'.

getColNames

Returns the column names of the table as named in Columns

collectData

Retrieves the data from the group database and put it into fetchable rows.

Back to Top


PREREQUISITES

Perl support for the functions getgrent, setgrent, endgrent is required to provide data for the table.

Back to Top


AUTHOR

    Jens Rehsack                        Alexander Breibach
    CPAN ID: REHSACK
    rehsack@cpan.org                    alexander.breibach@googlemail.com
    http://www.rehsack.de/

Back to Top


ACKNOWLEDGEMENTS

Some advisories how to implement the data collecting safer and more portable was provided by Ashish SHUKLA <ashish@freebsd.org>.

Back to Top


COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

Back to Top


SUPPORT

Free support can be requested via regular CPAN bug-tracking system. There is no guaranteed reaction time or solution time, but it's always tried to give accept or reject a reported ticket within a week. It depends on business load. That doesn't mean that ticket via rt aren't handles as soon as possible, that means that soon depends on how much I have to do.

Business and commercial support should be acquired from the authors via preferred freelancer agencies.

Back to Top

 DBD::Sys::Plugin::Unix::Groups - provides a table containing operating system user groups