Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.


Configuring Root Logins

If you want to give someone permission to login directly to the root login account via Secure Shell, you can define three methods of control with the PermitRootLogin configuration parameter in the sshd2_config file:

The default value yes enables root logins with any authentication method:

PermitRootLogin     yes

Use the value no to disable all logins with root privileges:

PermitRootLogin     no

With the value nopwd root logins are allowed only when an authentication method other than password is used:

PermitRootLogin     nopwd

It is also possible to create a separate subconfiguration file for root. See Defining Subconfigurations for more information.