Solve the Problem of Ubuntu root account and Ubuntu root Account
Question: In Linux, many operations require administrator privilege. Without the root permission, even basic file copy operations can only be performed in the user folder. For Ubuntu systems, the root account is not set during installation, how can I access the root account of the Ubuntu system?
Solution:
1. Open the terminal in the normal account environment:
2. Enter the command: sudo passwd root:
3. Enter the current account password. After entering all the passwords, press Enter:
4. Set the password of the Root account and enter both sides consecutively. The setting is successful.
5. Switch accounts
6. Use the root account to log on
7. log on successfully. You can perform advanced operations at this time.
Note: This type of problem exists in the Ubuntu system. For Linux of other distributions, you can set the system administrator account during installation. You can switch the account directly.
Ubuntu root password settings: How can I change the root password of a created default account by running the sudo passwd root command?
.... Ubuntu allows you to use a user created by yourself. It is not recommended to log on as a root user because it is not secure. It would be easy to solve this problem. Just drop your user permissions. After logging on with root, you can remove the permission of your user to execute the sudo command in the/bin/sudo attribute.
Problems with ubuntu root users
Are there other hard disks on the machine?