Originally published at: https://www.cyberciti.biz/faq/how-to-change-root-password-on-macos-unix-using-terminal/
I am a new user of macOS Unix running on MacBook Pro and Mac mini server. I need to change the password for root user account on macOS. How do I change the root password on macOS Unix using command line options?