Allow network user login via terminal I accidentally deselected "Allow network user login at login window" on my mac. I need to restore that setting. I have admin and access to every file via the startup terminal utility (but can't login with my user name). How do enable network user login from the terminal?
first:
sudo /usr/sbin/dseditgroup -o edit -a "com.apple.loginwindow.netaccounts" -t group "com.apple.access_loginwindow"

then:
sudo /usr/sbin/dseditgroup -o edit -a "yourAccount" -t group "com.apple.loginwindow.netaccounts"