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.
- su
- Log in as root
- visudo
- Add your own user name under root
- root ALL=(ALL) ALL
- username ALL=(ALL) NOPASSWD: ALL
Nopasswd is used so that sudo does not have to confirm the password