to be logged in as root, you will need to enable the root user. Apple and many people who know what they are doing recommend that you never do this and since I like to pretend I know what I'm doing, I am going to agree.
You should be able to do everything in sudo. If you want to be super...