01) when the root user password is enabled, the system will prompt you to enter a new password and enable it. 02) disable root account sudopasswd-lroot03) allow root users to log on to GNOME (not recommended) Enable root, Open System → system management→ login window, and select security ". Select "Allow Local System Administrator Logon" 04) automatically log on to GNOME
01) Enable the root user password
Sudo passwd root
The system prompts you to enter a new password and enable it.
02) disable the root account
Sudo passwd-l root
03) allow root users to log on to GNOME (not recommended)
After root is enabled,
Choose system> System Management> logon, and select security ". Select "Allow Local System Administrator Logon"
04) automatically log on to GNOME (it is said that this is not safe)
However, this is very convenient. You do not need to enter the password for the next logon.
Choose system> System Management> logon, and select security ". Select "Automatic Logon upon startup" and select a user.
05) change the file/folder Permissions
Right-click a file or folder. Select properties → permission page.
You can select the read, write, and execute options for the owner, group, and others.
06) change the owner of the file/folder
Sudo chown new owner username/file or folder location
07) restore the GRUB Startup Menu after installing Windows
Check out the following: "windows cannot be reinstalled into Ubuntu"
Http://forum.ubuntu.org.cn/viewtopic.php? T = 2461