Ubuntu8.04 system security for beginners

Source: Internet
Author: User
I believe that everyone has suffered or often heard how many viruses and vulnerabilities occur in windows, but is Lnux truly 100% secure? No. The Lnux system is also vulnerable to viruses and malicious attacks. However, compared with windows, this is a rare thing. In order to make your Ubuntu8.04 system more secure, please refer to the following content: 1. Set a secure enough system password to ensure sufficient security: 1, no less than 8 characters 2, do not include any leaked personal data in the password, such as date of birth 3.

I believe that everyone has suffered or often heard how many viruses and vulnerabilities occur in windows, but is Lnux truly 100% secure? No. The Lnux system is also vulnerable to viruses and malicious attacks. However, compared with windows, this is a rare thing.

To make your Ubuntu8.04 system more secure, please refer to the following content:

1. Set a secure enough System Password
What is safe enough: 1, no less than 8 characters 2, do not include any information that leaks personal data in the password, such as the date of birth 3, try to use less commonly used symbols and numbers, case Sensitive

2. Use the 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.
You can directly access your file system in the rediscovery mode without a password, so remember this.

To disable the root account, follow these steps:

Sudo passwd-l root

3. Do not run the script programs that others give you at will.
To download software from the Internet, try to use the software management program that comes with the system, and try to download the program with the verification code from a professional Lnux website.

4. Do not open unnecessary service programs
For individual users, do not open unnecessary service programs, such as apache, SQL, ftp, and telnet. Even if you want to use them, disable them after use, this improves both system performance and system security.

5. Pay more attention to system processes

6. Use the Ubuntu system upgrade manager to download the latest software patch.

7. Install firewall
A recommended firewall: firestarter
This firewall can be obtained from apt. If a startup problem occurs after installation, if your eth0 device cannot be started, configure it as follows:
Sudo gedit/etc/firestarter. sh
Put the following content:
IP = '/sbin/ifconfig $ IF | grep inet | cut-d:-f 2 | cut-d \-f 1'
MASK = '/sbin/ifconfig $ IF | grep Mas | cut-d:-f 4'
BCAST = '/sbin/ifconfig $ IF | grep Bcast: | cut-d:-f 3 | cut-d \-f 1'
Changed:
IP = '/sbin/ifconfig $ IF | grep inet | cut-d:-f 2 | cut-d \-f 1'
MASK = '/sbin/ifconfig $ IF | grep MASK: | cut-d:-f 4'
BCAST = '/sbin/ifconfig $ IF | grep broadcast: | cut-d:-f 3 | cut-d \-f 1'
After saving the file:
Sudo firestarter can successfully start the Firewall
Finally, you can easily start the firewall at any time by setting the firewall icon in system-system management on the menu bar.

8. install anti-virus software
Although the probability of Lnux poisoning is very low, anti-virus software is essential to build a high-security system. Here we recommend one:
Antivir
You can download the Lnux Personal Edition from your free-av.com and upgrade the virus repository for free
After installation, create an antivir startup project in system-preferences-session.
Try to develop the habit of upgrading the virus database every day and regularly Eliminating viruses.

As long as you can do the above, I believe that even the top hackers can hardly infringe your system.

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.