how do i activate with CLI the guest account on a macOS Catalina that has an AD join?
i had tried with:
defaults write /Library/Preferences/com.apple.loginwindow.plist GuestEnabled -bool YES and
dscl . -create /Users/Guest
on the login window I see the user and password window.
I type guest and enter but the login fails
Hi @ivanlovisi ,
is there a hidden Management Account? That was the problem why the guest user was not displayed on my devices.
defaults write /Library/Preferences/com.apple.loginwindow GuestEnabled -bool TRUE
defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool FALSE
dscl . create /Users/MANAGEMENTACCOUNTNAME IsHidden 1
Does that work for you?