cookbook 'macosx_autologin', '= 2.0.0'
macosx_autologin (8) Versions 2.0.0 Follow0
Configures automatic login using a Gavin Brock's kcpassword
cookbook 'macosx_autologin', '= 2.0.0', :supermarket
knife supermarket install macosx_autologin
knife supermarket download macosx_autologin
Mac OS X Autologin Cookbook
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.
Enable automatic login for user
node.set['macosx_autologin']['username'] = 'username' node.set['macosx_autologin']['password'] = 'password' node.set['macosx_autologin']['restart_loginwindow'] = true # default is false include_recipe[macosx_autologin]
Disable automatic login
node.set['macosx_autologin']['restart_loginwindow'] = true # default is false include_recipe[macosx_autologin::remove]
Getting Help
- Ask specific questions on Stack Overflow.
- Report bugs and discuss potential features in Github issues.
Contributing
Please refer to CONTRIBUTING.
License
MIT - see the accompanying LICENSE file
for details.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Changelog
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
2.0.0 passed this metric
2.0.0 passed this metric