How to login as root in Linux - Ubuntu | Linux in a Minute

preview_player
Показать описание
In this Linux in a Minute video you will learn how to login as root in Linux - Ubuntu. The root user is unable to login by default in Ubuntu Linux. This video will show you how to work around that for temporary root access, as well as show you how to reset the root user's password so that you can use it on a permanent basis.

Commands used in this video include:

To execute as shell and temporarily act as root:
sudo -s

To reset password for root user:
sudo passwd root

To login as root after password is set:
su root

Connect with Don Pezet:

#LoginasRootLinux #RootUserLinux #LoginasRootUbuntu
Рекомендации по теме
Комментарии
Автор

The ONLY useful video on the internet. God bless you! Thanks! <3

grilledpikachu
Автор

If only I had found this years ago, I would have saved my sanity. Or at least I could have updated my machine. I subscribe and like in gratitude. May you have happiness and the causes of happiness! Dwell in peace and contentment, for you have made the viritual world a better place, at the very least.

MrPotatochips
Автор

Thanku so much, best video, i try lots of command

funnygags
Автор

Great video! Thank you so much! I am subscribing

katashi
Автор

Ok, but this doesn't answer a key question. Is there a password set on the root account on a new install and if so how is it determined and is it secure. I don't like the idea of some random admin account created that I don't know the password to. The first place my mind goes is that the Ubuntu coders could create a backdoor. Probably paranoia, but in IT it's probably good to be a little paranoid. The second place my mind goes is wanting to make sure the root user if it does have a default password isn't 123456.

michaelsanders
Автор

I like this command Sudo Su - also this command work as well

ibrahimbaroudy
Автор

I'm already in the root. I need the opposite. How to login as user

heromiIes
Автор

I get a "user is not in the sudoers file" message. How do I get through this?

I just installed Oracle Linux in order to do an assignment for a class, which is going through a 2 hour LinkedIn course, and I came across this error, which I don't know how to fix. Been searching online but the solutions don't get me past this step, and I can't seem to find the GRUB menu at startup either.

I installed Oracle Linux in Virtualbox, and created a user during installation. Now I'm watching this video but can't get past the that message. Please help!

galloe
Автор

hi, i have problem i am not running executable file in multiple ubuntu with one root password .because of the terminal open as user . how to run my file with one root in multiple ubuntu .for this i can paid u for help.

rajuhub
Автор

But I don't have sudo permission so what to. Do now??

rohitgautam
Автор

But what do I do next? Maybe a stupid question, but how do I start using my computer again...?

perk
Автор

I am new to Linux. I need someone to chat with for help.🙁

levitramahadeo
Автор

I'm still laughing at the "sudu"

niccolomachiavelli