CentOS does not enable sudo by default, and can log in to the server directly as a super administrator. Ubuntu has done a good job in this regard. In order to reduce the loss caused by misoperation, it is recommended to enable sudo.
1. Add sudo user Execute the visudo command and find:
root ALL=(ALL) ALL
Add in the following:
centos ALL=(ALL) ALL
2. Disable root user login Edit /etc/ssh/sshd_config will
PermitRootLogin yes
For
PermitRootLogin no
3, restart sshd:
service sshd reload
When I maintain the blog file today, I found that I cant delete some folders and files in the websi
At present, many schools have built campus networks and connected to the Internet, but there are so
HAProxy provides high availability, load balancing, and proxy for TCP and HTTP applications, support
Engaged in two years WindowsClient development, what multi-threading, multi-process development, ha
Linux kernel compilation error fatal error: linux/config.h: No such file or
Linux system garbled problem solution
Linux Squid installation and debugging several commonly used commands introduced
Detailed analysis of kernel module development under Linux operating system
Simple operation Ten "fast" in Linux system
Installing Virtualbox Virtual XP on Ubuntu System
Liunx jdk installation tutorial
Getting Started with AT&T Syntax under Linux (GNU as Assembly Syntax)
Linux shared library location configuration
Basic tutorial on the installation and use of SNMP under centos
Steps for adding environment variables under Win10 system
Summary and Answers to Win8 Issues Concerned by Chinese Users (Part 2)
The colrm command usage in Linux
What should I do if the win10 version of the office cannot be opened?
How to uninstall installed updates in Windows 8
Win8 Consumer Preview using the skills and experience (3)
Win10 9888 Chinese garbled how to do?
Win8.1 compressed volume can only be compressed half how to do