CentOS 6.X Learning Experience

Source: Internet
Author: User

First: SSH-based remote login security

Turn command on or off: service sshd Start/stop

Modified file Address/etc/ssh/sshd_config

The main functions are: Prohibit the root user remote login: permitrootlogin=no

Limit Trust Host: addressfamily

Shielded login Banner information: Banner None

Second: storage of syslog.conf files

Before CentOS 6 is stored in:/etc/syslog.conf

After CentOS 6 is stored in:/etc/rsyslog.conf

Third: Login.defs

This is the Linux account management file, storage location in/etc/login.defs. It can operate other account information except root user, such as password effective time, shortest time, password length and password invalidation warning, UID and GID information, umask information, encryption algorithm used and so on, and account Key management related to a lot of content.

Third: Securetty

/etc/securetty "file allows you to specify that the" root "user can log in from that TTY device.

This article is from the Cloud Home blog, so be sure to keep this source http://moodcrazy.blog.51cto.com/721721/1704693

CentOS 6.X Learning Experience

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.