I’ve been trying to change the root password via Terminal on macOS. I launched Terminal by holding cmd + S while booting, which logged me automatically in as root without password.
When I type in
Passwd root or
Passwd and then hit enter, I just get an error message that says
the daemon encountered an error processing request
two times in a row. If a log into my user and then try that it works perfectly but I want to change it from the “cmd+S” menu.