Skip to content

Instantly share code, notes, and snippets.

@trilitheus
Last active August 29, 2015 14:09
Show Gist options
  • Save trilitheus/7634569bd0d39a91ed7e to your computer and use it in GitHub Desktop.
Save trilitheus/7634569bd0d39a91ed7e to your computer and use it in GitHub Desktop.
Using user cookbook
users_manage 'mygroup' do
group_id 5001
action [:remove, :create]
end
{
"id": "myuser",
"groups": [
"mygroup"
],
"ssh_keys": [
],
"uid": 5001,
"shell": "/bin/bash",
"real_name": "My Name",
"password": "AVALIDSHADOWHASH"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment