Linux Server complained about spam

Source: Internet
Author: User
The linux server has been complained of sending spam-Linux Enterprise Application-Linux server application information. The following is a detailed description. We received a complaint from the network management center that one of our Linux devices sent a large amount of spam to the Internet. Dizzy, will we be seen by X customers in such a small place?

The less/var/log/message was shocked, and the ip addresses of the United States, Japan, Zhejiang, and Tianjin came.

MD, stop the sendmail service/etc/init. d/sendmail stop

Rename the sendmail script mv/etc/rc2.d/S80sendmail/etc/rc2.d/XXXS80sendmail

Stop chkconfig sendmail off

Modify the default ssh port vi/etc/ssh/sshd_config to remove #22 before the port and change it to another unused port.

Change the root password. MD won't trust me to write a 12-bit password, and it's useless to be violent.

After reboot, I got rid of ps-.

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.