Using Linux, root is not too convenient for beginners, but you will not be given such a job, you must use your own account. The new account requires sudo permission.

  1. su
  2. Log in as root
  3. visudo
  4. Add your own user name under root
  5. root ALL=(ALL) ALL
  6. username ALL=(ALL) NOPASSWD: ALL

Nopasswd is used so that sudo does not have to confirm the password