How can i get root account in my Virtual Machine

wone 1 Reputation point
2021-11-19T21:32:11.853+00:00

Hi! I created virtual machine and I want to login as a root, or other account, with all permissions, but I don't know where can I find details like that.

I need it because i want to connect to my vps via ftp or ssh.

Did someone know how can I do it?

Thanks for help!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,045 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,486 Reputation points Volunteer Moderator
    2021-11-19T21:55:49.4+00:00

    Hi,

    When you create a linux VM, the username that you chose is also included in the sudoers group and you can execute commands with sudo as root. The root account has no password for security reasons.

    Hope this helps!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.