Xylok Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Becoming Root (Linux/Unix)

Xylok requires low-level system access to collect the information it needs. There are several ways to become root in Linux, but the exact method will depend on your system. The most common methods are:

  • When logging into the GUI, use the username “root” and the root password. A terminal opened using the instructions above will already have a root prompt.
  • At a command line, run su. You will be prompted for the root password. As you type the password nothing will appear; simply press enter once you’ve typed it.
  • At a command line, run sudo -s. You will be prompted for your password. As you type the password nothing will appear; simply press enter once you’ve typed it.

If you have successfully become root the prompt should display a pound sign (#) or say “root@” near the beginning, as shown in the image below:

Root prompt illustration