Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


macosx_autologin (8) Versions 4.0.0

Configures automatic login using a Gavin Brock's kcpassword

cookbook 'macosx_autologin', '= 4.0.0'
cookbook 'macosx_autologin', '= 4.0.0', :supermarket
knife cookbook site install macosx_autologin
knife cookbook site download macosx_autologin
Quality 80%

Mac OS X Autologin Cookbook

Cookbook Version Build Status

Enables/disables automatic login for user on boot using a modified version of Gavin Brock's kcpassword.


  • Chef 11.14+


  • Mac OS X 10.7+


Requires super-user privileges.

Enable automatic login for user and display login screen

macosx_autologin 'username' do
  password 'password
  restart_loginwindow true
  action :enable

Disable automatic login and display login screen

macosx_autologin 'username' do
  restart_loginwindow true
  action :disable


  • enable - Enables autologin.
  • disable - Disables autologin.


  • username - Username to login as. Required when enabled. Defaults to resource block name.
  • password - Password of username. Required when enabled.
  • restart_loginwindow - Display login screen. Default false.

`## ChefSpec Matchers

This cookbook includes custom ChefSpec matchers you can use to test your own cookbooks.

Example Matcher Usage

expect(chef_run).to enable_macosx_autologin('username').with(
  password: 'password'

Cookbook Matchers

  • enable_macosx_autologin(resource_name)
  • disable_macosx_autologin(resource_name)

Getting Help


Please refer to CONTRIBUTING.


MIT - see the accompanying LICENSE file for details.


4.0.0 2017-02-03

  • Replace recipe with resource to allow for suppressing sensitive info

3.0.0 2015-09-13

  • Merge remove recipe into default recipe

2.0.0 2015-05-21

  • Convert cookbook from LWRPs to Recipes
  • Default restart_loginwindow to false

1.1.2 2015-05-20

  • Fix Foodcritic false positive on sensitive resource

1.1.1 2015-05-20

  • Update Chef requirements

1.1.0 2015-05-20

  • Suppress password output on enable action
  • Fix disable action fails when autoLoginUse attribute is missing from

1.0.0 2015-05-18

  • Initial release

Collaborator Number Metric

4.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric

4.0.0 passed this metric

License Metric

4.0.0 passed this metric

Publish Metric

4.0.0 passed this metric

Supported Platforms Metric

4.0.0 passed this metric