Use sudo and su commands with caution for Ubuntu System Security

Source: Internet
Author: User
There are a lot of viruses in Windows, but is Linux really safe? Of course not. The Linux system also has some viruses and some malicious attacks. However, this is a rare thing for Windows. Related reading: Workshop. These two commands represent the highest privilege of the system.

There are a lot of viruses in Windows, but is Linux really safe? Of course not. The Linux system also has some viruses and some malicious attacks. However, this is a rare thing for Windows.

Read: http://www.linuxidc.com/Linux/2008-12/17632.htm

To make your Ubuntu system more secure, please use sudo and su commands with caution.

These two commands represent the highest permission to use the system. Do not abuse them unless necessary. Perform the following operations after installing the Ubuntu system:

Sudo su

After entering the root permission, use the passwd command to set a password for the root user. If this is not done, Ubuntu does not have a password by default, anyone can directly access your file system from the recovery mode without a password, so remember this.

To disable the root account, follow these steps:

Sudo passwd-l root

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.