disable root login centos 7

$333.00

The simplest method to disable root user login is to change its shell from /bin/bash or /bin/bash (or any other shell that permits user login) to /sbin/nologin, in the /etc/passwd file, which you can open for editing using any of your favorite command line editors as shown. $ sudo vim /etc/passwd Change the line: tesco car insurance login

Quantity:
Add To Cart