Hiếu Hoàng
Member
How do I connect to root in Linux?
Answer
You need to set the password for the root first by “
sudo passwd root “, enter your password once and then root’s new password twice. Then type in “su -” and enter the password you just set. Another way of gaining root access is “sudo su” but this time enter your password instead of the root’s.
Answer
You need to set the password for the root first by “
sudo passwd root “, enter your password once and then root’s new password twice. Then type in “su -” and enter the password you just set. Another way of gaining root access is “sudo su” but this time enter your password instead of the root’s.