Please note, making any changes that require root can be extremely dangerous. If you ever directly modify files in such a way, ALWAYS make a copy of the file first.
Need to set your root password? No worries, here’s how!
First, log into your cPanel. Then go to the performance tab.
Once on the server tab go to Access Management.
Now just update your root password.
Then you are all done and good to go.