cookbook 'r1337-linux-users', '= 0.1.0'
r1337-linux-users (2) Versions 0.1.0 Follow0
Mange users and common groups on Linux systems
cookbook 'r1337-linux-users', '= 0.1.0', :supermarket
knife supermarket install r1337-linux-users
knife supermarket download r1337-linux-users
Chef Cookbook - Linux Users
This Chef cookbook will add/update/remove users and common groups on Linux systems
Changes Performed
- Configure local users and common groups according to contents of the data bag specified in the ['r1337-linux-users']['users_bag'] attribute
Requirements
- Chef (Tested on Chef 13.6.4)
- Linux chef-clients (Tested on Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, and CentOS 7.2 but kitchen will let you test anything you want)
- The apt cookbook from Chef Supermarket
- The users cookbook from Chef Supermarket
- the line cookbook from Chef Supermarket
- the zap cookbook from Chef Supermarket
Installation Tips
- We personally use Berks to install this into Chef servers, because it will grab the dependencies for you as well.
- You must set the attribute ['r1337-linux-users']['users_bag'] in your environment so it points at the correct data bag.
- We recommend setting this attribute at an environment or role level depending on what makes sense for your organization.
Limitations
- None so far :)
Known Issues
- None so far :)
users Data Bag Format
{
"id": "david",
"password": "$6$example2$xc7NaKOwWWOBoGdSOP.mUgy21MNMjmdHsRuiVAmoMLpQ0tr42xPxWhOWNCPvCClV8lpE3zKr8.TowR0ARoi3a1",
"ssh_keys": [
"ssh-rsa AAAAB3NzaC1yc2EAAAAD blah blah",
"ssh-rsa AAAAB3NzaC1yc2EAAAAD blah blah"
],
"groups": [ "sysadmins" ],
"shell": "\/bin\/bash",
"comment": "David"
}
Use Cases
Used to manage user deployment, key/permissions enforcement, and removal on Linux systems from a central repository.
Donate To Support This Chef Cookbook
Route 1337, LLC operates entirely on donations. If you find this cookbook useful, please consider donating via one of these methods.
- Bitcoin: 1CnzzrPh3iirEkLRLiWFKXDV9i5TXHQjE2
- Bitcoin Cash: qzcq645swgd87s7t5mmmjcumf4armhtjt5euww5c29
- Litecoin: LWYbc9hf5ErJsF874Q3wwmMiASHRWgwrjR
- Ethereum: 0x117543aa7a4D704849171cA06568Ece71B111D18
Thank you for your support!
Dependent cookbooks
apt >= 0.0.0 |
users >= 0.0.0 |
line >= 0.0.0 |
zap >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Linux Users - Changelog
A list of all the changes made to this cookbook
Version 0.1.0
- Initial Release
License Metric
0.1.0 passed this metric
0.1.0 passed this metric