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 login" 04) to automatically log on to GNOME (it is said that this is not safe). However, this is very convenient and requires no password for the next logon. 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
08) Prevent fsck from checking the vfat File System
During each boot, the system always checks Windows (vfat) Partitions. It may take some time. If you do not want fsck to check Windows (vfat) at startup) partition (sometimes this check will produce a lot of error information), you can edit the/etc/fstab file to change the pass Parameter of column 6th to 0, of course, this can only be changed under the root user or with the root permission. You can also use this command:
Sudo gedit/etc/fstab
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service