Login as Administrator on Linux Red Hat Shell
The Linux Tip Simply shows you How to Get a Login as the Root SuperUser on Red Hat Enterprise Linux 6.x/7.x/8.x/9.x Shell/Terminal/Command-Line.
In Unix-like computer OSes, root is the conventional name of the user who has all rights or permissions (to all files and programs) in all modes (single- or multi-user).
On Unix-like systems the user with a user identifier (UID) of zero is the SuperUser, regardless of the name of that account.
Be Cautious because the SuperUser has the Powers to Execute All Good/Bad Actions and Commands on GNU/Linux Shell.
-
Open a Shell Terminal emulator window
In case first see: Terminal QuickStart Guide.
Or Login into the Server Shell. -
Making an Admin Root Login on Linux Red Hat.
sudo su
Or
su -
If Got “User is Not in Sudoers file” then see: How to Enable sudo
To Confirm you are Logged in as root the Shell Prompt will change showing a trailing#
Then to End the SuperUser Session do
exit