How Do I Switch to Root in Linux?
Contents to Change User to Root Account, Simply Run “Su” or “Su –” Without Any Arguments. How Do I Revert Back to Root? in Terminal. or You Can Simply Press...
Contents
To change user to root account, simply run “su” or “su –” without any arguments.
How do I revert back to root?
in terminal. Or you can simply press CTRL + D . Show activity on this post. Just type exit and you will leave the root shell and get a shell of your previous user.
Must Read
How do I change from root to normal?
You can switch to a different regular user by using the command su. Example: su John Then put in the password for John and you’ll be switched to the user ‘John’ in the terminal.