Re:macOS High Sierra: Anyone can login as “root” with empty ...
by tekacs on Tuesday November 28, 2017 @05:06PM
(#15802303)
If you disable the root user using `dsenableroot -d` from the Terminal, this seems to disable the account in a way that leaves its password intact.
[ Parent
| on HN ]
Re:macOS High Sierra: Anyone can login as “root” with empty ...
by pwinnski on Tuesday November 28, 2017 @05:26PM
(#15802465)
The bug isn't in the disabling, it's in the auto-enabling on attempt.
Re:macOS High Sierra: Anyone can login as “root” with empty ...
by tekacs on Tuesday November 28, 2017 @05:34PM
(#15802536)
Having tested this by both approaches (disabling through GUI & shell), the above (through shell) seems to prevent this from re-occurring when you attempt to perform this bogus login again. Disabling the account via the GUI causes the failure to re-occur.