Fedora ARM64 root password

Discussion in 'Linux Virtual Machine' started by ThomasG52, Feb 10, 2023.

  1. ThomasG52

    ThomasG52 Bit poster

    Messages:
    2
    Good afternoon,

    I doing some linux practice here and I installed Fedora ARM64 on my m1 Mac and I am trying to become the root user using "su -" I do not know what that password is and I do not remember seeing it in set up. I tried on another vm and got the same issue. Is there a default passwd, I tried changeme password Password etc.

    Would love to know how to fix this

    Thanks
    Tom
     
  2. Adeboye Adeotan

    Adeboye Adeotan Staff Member

    Messages:
    345
    Hello Tom,

    To resolve this issue, please follow the steps outlined below:
    1. Start Parallels Desktop.
    2. Launch your Fedora virtual machine.
    3. Click on Activities.
    4. Type "Terminal" in the Search bar and press the Enter key.
    5. Type "sudo passwd root" to reset your root password.
    6. Type your current user password to gain sudo access and press the enter key.
    7. Choose and type a new root password and press the Enter key.
    8. Re-enter the new root password and press the Enter key.
    9. Test your newly changed root password by typing "su -" in the terminal and press the enter key.
    10. Enter your new root password.

    You should now have access to the root account on your Fedora virtual machine.
     
    ThomasG52 likes this.
  3. ThomasG52

    ThomasG52 Bit poster

    Messages:
    2
    Found a fix, use sudo su.
    it will generate a sudo password prompt that you should know. This is because Mac can not do su and in the virtual machine, it is carried over.
     

Share This Page