syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

You are here: Linux101 > Shell 101 > shell101_root

Linux Shell 101

Question:
In Linux101 how to login as root?

I know 3 ways to login as root.
sudo bash
or
su
or
ssh root@localhost
If none of those attempts work, I install a new instance of Linux.

During the install, Linux will setup an account for me and ask me to set a password.

When installation is done, I should be able to login as root with this command:
sudo bash


You are here: Linux101 > Shell 101 > shell101_root
You can ask questions in Dan's Machine Learning Class Forum:
https://groups.google.com/forum/#!forum/dan101

syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me