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

Select Status

RSS

macosx_autologin (8) Versions 3.0.0

Configures automatic login using a Gavin Brock's kcpassword

Policyfile
Berkshelf
Knife
cookbook 'macosx_autologin', '= 3.0.0', :supermarket
cookbook 'macosx_autologin', '= 3.0.0'
knife supermarket install macosx_autologin
knife supermarket download macosx_autologin
README
Dependencies
Changelog
Quality 100%

Mac OS X Autologin Cookbook

Cookbook Version
Build Status
GitHub Issues

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

Requirements

  • Chef 11.14 (introduced sensitive resource) or higher

Platforms

  • Mac OS X 10.7 or higher

Usage

Requires super-user privileges.

Attributes

  • node['macosx_autologin']['enable'] - Enable autologin. Default true.
  • node['macosx_autologin']['username'] - Username to login as. Required when enabled.
  • node['macosx_autologin']['password'] - Password of username. Required when enabled.
  • node['macosx_autologin']['restart_loginwindow'] Display login screen. Default false.

Examples

Enable automatic login for user and display login screen

node.set['macosx_autologin']['username'] = 'username'
node.set['macosx_autologin']['password'] = 'password'
node.set['macosx_autologin']['restart_loginwindow'] = true 

include_recipe 'macosx_autologin'

Disable automatic login and display login screen

node.set['macosx_autologin']['enable'] = false
node.set['macosx_autologin']['restart_loginwindow'] = true 

include_recipe 'macosx_autologin'

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE file
for details.

Changelog

3.0.0

  • Merge remove recipe into default recipe

2.0.0

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

1.1.2

  • Fix Foodcritic false positive on sensitive resource

1.1.1

  • Update Chef requirements

1.1.0

  • Suppress password output on enable action
  • Fix disable action fails when autoLoginUse attribute is missing from com.apple.loginwindow.plist

1.0.0

  • Initial release

Foodcritic Metric
            

3.0.0 passed this metric