Authen::RBAC - Perl extension to manage Authen::RBAC configs
use Authen::RBAC;
This perl module manages manages Authen::RBAC XML configs and authorize against them
The following methods are available in this module.
Parse XML config file
Parse XML config file(s)
Output XML config file for a specific group
Returns a reference to an array containing the names of currently loaded groups
Returns a reference to an array of acl names in a group
Returns a reference to an array of policies in a specific acl
Removes a group
Add new group
Add a new ACL to a group
Delete an ACL from a group
Add a new policy to ACL
Delete a policy from an acl
Checks whether a user is allowed to execute a command on a specific device
Accepts a scalar user name, scalar command, and a scalar hostname
Returns 1 for success
Returns undef for failure
Set the module debug level
Determines unix group memberships for all users
Parses the current Authen::RBAC XML configuration file
Returns reference to a hash containing the config file name and "1" for success and undef for failure Returns undef for failure
Dennis Opacki, dopacki@adotout.com
perl(1).
To install Authen::RBAC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::RBAC
CPAN shell
perl -MCPAN -e shell install Authen::RBAC
For more information on module installation, please visit the detailed CPAN module installation guide.