2 Comments

  • Verno
    September 9, 2012 - 10:00 pm | Permalink

    So If I wanted to ENABLE autologin for a particular user, how can I do this from say a .sh script?

    • September 21, 2012 - 9:16 am | Permalink

      Try:

      defaults write /Library/Preferences/.GlobalPreferences/com.apple.userspref.DisableAutoLogin -bool yes

      And then define the user with the following:

      defaults write /Library/Preferences/com.apple.loginwindow autoLoginUser

      That should do the trick. Sorry it took a few days to reply.

  • Comments are closed.