How do I change to root in Linux?

How do I change to root in Linux?
Answer
Changing the root password in CentOS
  1. Step 1: Access the command line (terminal) Right-click the desktop, then left-click “Open in Terminal.” Or, click Menu > Applications > Utilities > Terminal.
  2. Step 2: Change the password. At the prompt, type the following, then press Enter: sudo passwd root.
 

Tìm kiếm

Back
Top