Separation of user privileges is one of the main features in Linux operating systems. Normal users operate in limited privilege sessions to limit the scope of their influence on the entire system. One special user exists on Linux that we know already is
root, which has super-user privileges. This account doesn't have any restrictions that are present to normal users. Users can execute commands with super-user or root privileges in a number of different ways.
There are mainly three different ways to obtain root privileges on a system:
- Log in to the system as
- Log in to the system as any user and then use the
su -command. This will ask you for the
rootpassword and once authenticated, will give you the root shell session. We can disconnect ...