Tag: root

  • Scripting enabling root or disabling root on Mac OS X

    If you want to script enabling or disabling the root account in Mac OS X (instead of having to go to Directory Utility to do it), you’ll want to use the dsenableroot command. Enable the root user dsenableroot -u adminaccount -p adminaccountpassword -r rootpasswordyouwant Disable the root user dsenableroot -d -u adminaccount -p adminaccountpassword Important…