How do I switch to root user?

Nguyễn Hào

New member
How do I switch to root user?
Answer
To get root access, you can use one of a variety of methods:
  1. Run sudo
    <command>
    and type in your login password, if prompted, to run only that instance of the command as root. …
    </command>
  2. Run sudo -i . …
  3. Use the su (substitute user) command to get a root shell. …
  4. Run sudo -s .
 

Tìm kiếm

Back
Top