How Do I Get out of Root User in Linux?
Contents 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...
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.
How do I change from root user to normal user in Linux?
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.
How do I change a user from root to user?
The su command:
su command is used to switch the current user to another user from SSH. If you are in the shell under your “username”, you can change it to another user (say root) using the su command. This is especially used when direct root login is disabled.