How do I logon as root user?

dreamcompute

#1

I’ve signed up for the free trial and got as far as connecting to the server instance by ssh. But that user (dhc-user) is not root. Is there any way to create a root user? Or is there one already?


#2

Once you are logged in as the dhc-user, if you run:

sudo su -

including the “-” at the end, you will become the root user. Alternatively if you wish to not be root, you can run your commands you need prefixed by “sudo”.