Skip to main content

Posts

Showing posts with the label Passwd

Cancel Linux Root login directly to avoid be hacked

I believe many friends have used Linux, such as Fedora, RedHat, Ubuntu and other Linux operating systems.   Of course everyone knows that after logging in with ROOT, you can directly control all operations, including creating files and deleting files.   This is really good for some users, but it can be trouble if it is hacked, especially the server administrator. So just think of a way to cancel the ROOT login directly, first create a user who do not have the permssion to create or delete files, and then use this account to control the linux without using the root user directly This is a basic guarantee.