NAME
DBD::Sys::Plugin::Unix::Users - provides a table containing a list of operating system users
SYNOPSIS
$users = $dbh->selectall_hashref("select * from pwent", "username");
ISA
DBD::Sys::Plugin::Unix::Users;
ISA DBD::Sys::Table
DESCRIPTION
This module provides the table pwent filled the data from the password database passwd(5)
.
COLUMNS
username
Name of the user in this row how he/she authenticates himself/herself to the system.
passwd
Encrypted password of the user - typically accessible by root only.
uid
Numerical user id
gid
Numerical group id of the users primary group
quota
Quota, when supported by this system and set
comment
Comment, when set
gcos
General information about the user
dir
Users home directory
shell
Users default login shell
expire
Account expiration time, when available
METHODS
get_table_name
Returns 'pwent'.
get_col_names
Returns the column names of the table as named in "Columns"
collect_data
Retrieves the data from the password database and put it into fetchable rows.
PREREQUISITES
Perl support for the functions getpwent, setpwent, endpwent is required to provide data for the table.
AUTHOR
Jens Rehsack Alexander Breibach
CPAN ID: REHSACK
rehsack@cpan.org alexander.breibach@googlemail.com
http://www.rehsack.de/
ACKNOWLEDGEMENTS
Some advisories how to implement the data collecting safer and more portable was provided by Ashish SHUKLA <ashish@freebsd.org>.
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.
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.