How to change to root user in linux?

Asked By:
3 answer(s)
Answer # 1 #
  1. Open the terminal. 2. Use the command su - and enter the root password. 3. Alternatively, use sudo -i or prefix commands with sudo for temporary root privileges.
[3 Month]
Answer # 2 #

To switch to root user in Linux:

[3 Month]
Answer # 3 #

Be careful while using root access, as it can modify system-critical files.

[3 Month]