NAME

Provision::Unix::User::FreeBSD - provision user accounts on FreeBSD systems

VERSION

version 1.08

SYNOPSIS

Handles provisioning operations (create, modify, destroy) for system users on UNIX based operating systems.

use Provision::Unix::User::FreeBSD;

my $user_fbsd = Provision::Unix::User::FreeBSD->new();
...

archive

Create's a tarball of the users home directory. Typically done right before you rm -rf their home directory as part of a de-provisioning step.

if ( $prov->user_archive("user") ) 
{
    print "user archived";
};

returns a boolean.

FUNCTIONS

verify_master_passwd

Verify that new master.passwd is the right size. I found this necessary on some versions of FreeBSD as a race condition would cause the master.passwd file to get corrupted. Now I verify that after I'm finished making my changes, the new file is a small amount larger (or smaller) than the original.

BUGS

Please report any bugs or feature requests to bug-unix-provision-user at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Provision-Unix. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Provision::Unix

You can also look for information at:

AUTHOR

Matt Simerson <msimerson@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by The Network People, Inc..

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