How do I install Linux mint debian and set up a root login?
The root account is locked by default. To unlock (considering you know the risk of this operation) you should:
- Open a terminal window.
- Run
sudo passwd root
- You will be prompted for a password. That is you current account password.
- Set the root account password followed by
Enter
. - Retype the root password followed by
Enter
. - Run "su" at the terminal to become the root user.
Dr Funk
Updated on September 18, 2022Comments
-
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 over 10 yearsI believe the root account is locked by default. Consider using
sudo
to perform those tasks.
-
-
Frank Thomas over 10 yearsnote, if you only need it temporarily, you can use
sudo passwd -l
to re-lock the account when you are done.