Sample Header Ad - 728x90

How to disable the Guest account in macOS Mojave using `dscl`?

2 votes
2 answers
860 views
I've attempted to disable the Guest account using dscl as follows: sudo dscl . -append /Users/Guest AuthenticationAuthority ";DisabledUser;" However, it doesn't seem to work, why? I know, I can disable the Guest account from the GUI, but I like to use the CLI.
Asked by Shuzheng (1681 rep)
Aug 4, 2019, 10:54 AM
Last activity: Oct 1, 2020, 09:49 PM