当前位置:首页 > 虚拟机 > 正文

虚拟机切换root用户(虚拟机怎么切换root账户)

Only use the virtual machine root to switch to the real machine
The method of only using the virtual machine root to switch to the real machine is: use the sudopasswdroot command to set the super user root password: use the user name and password set when creating Linux Log in, use the sudopasswdroot command, enter the password of the user set when creating Linux, and then enter the password of the root account twice to successfully set the password of the root account.
How to switch to the root user in Ubuntu, how to switch to the root account

How to switch to the root user identity in Ubuntu? Earlier, the editor shared how to enable the root user in Ubuntu. The following editor will share how Switch to the root user

This note:

This editor's suggestion is only suitable for Ubuntu systems before 10.10, and later 11.04 and 11.10. . . The 14.04 system uses a different default desktop, so this is not applicable. If you want to use it, please install the GNOME desktop

Open the terminal tool as follows, or use the terminal tool shortcut Ctrl+Alt+T Open the terminal

After the terminal tool is opened, as shown in the figure below, our operation will be carried out in this window

Switch root The user's method is to execute the command sudosu. After executing the command above, we will be asked to enter our current password

After entering the password, we will switch to the root user. We can see the current The user is already root

How to exit the root user account? After switching to the root user, we only need to execute the exit command to exit the root user account

The second method of switching to the root user account is to execute the sudo-i command to switch the current user or ordinary user to the root user mode

After executing the command, we are generally required to enter our password. The editor here has just switched to the root user, so the system does not require a password. Generally, the system will not prompt for a password when we switch back and forth as the root user within 10 minutes. We will be asked to enter our password again

How to enable root permissions for Huawei vmos virtual machine?
Before rooting, you need to go to the official website to apply for the bl unlock password, use a computer to unlock the bl on your phone, and then download an acquisition tool, such as root master, and click one-click root.

How to root the Android system installed in the virtual machine vm?
Android SDK:
First, open the yaffs2img browser, \platforms\android-2.3.3_r02-windows\images\
Export the file and open it with Notepad , add # before kin=yes, and import and overwrite it after modification.
Unzip the attachment, import su and busybox into the /system/bin folder, right-click and change the permissions to 4755.
Import into the /system/app folder, right-click and modify the permissions to 4755. Save changes.
In fact, just put the su and busybox files into /system/bin.
As for the file, it can be downloaded and installed from the Internet, and it does not have to be placed under /system/app.