How do I install Linux mint debian and set up a root login?

5,278

The root account is locked by default. To unlock (considering you know the risk of this operation) you should:

  1. Open a terminal window.
  2. Run sudo passwd root
  3. You will be prompted for a password. That is you current account password.
  4. Set the root account password followed by Enter.
  5. Retype the root password followed by Enter.
  6. Run "su" at the terminal to become the root user.
Share:
5,278
Dr Funk
Author by

Dr Funk

Updated on September 18, 2022

Comments

  • Dr Funk
    Dr Funk over 1 year

    I have tried installing Linux Mint (after giving up with Manjaro for the same reason) but find I cannot do anything such as set up network connections as I have no root login. Should I not be prompted to provide a root password on installation? I have used Suse Linux in the past and this is set up as part of installation process. Does nobody else have this problem? I know the dangers of being too liberal with root priviliges but I need to allow software to install and set up my internet connection, seems this is too dangerous. I had the same issue with Manjaro althouth at least there I could set up the internet without the root login but was not able to install libre office or do anything much else.

    • douglaslps
      douglaslps over 10 years
      I believe the root account is locked by default. Consider using sudo to perform those tasks.
  • Frank Thomas
    Frank Thomas over 10 years
    note, if you only need it temporarily, you can use sudo passwd -l to re-lock the account when you are done.