How do I run a super user command?

Ánh Dương

New member
How do I run a super user command?
Answer
4 Answers
  1. Run sudo <command> and type in your login password, if prompted, to run only that instance of the command as root. Next time you run another or the same command without the sudo prefix, you will not have root access.
  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