How to Prevent SSH Login for root (Doc ID 1610441.1)

Last updated on SEPTEMBER 14, 2017

Applies to:

Linux OS - Version Oracle Linux 4.4 to Oracle Linux 6.4 [Release OL4U4 to OL6U4]
Linux x86
Linux x86-64
Linux Itanium

Goal

This document describes how to prevent super user "root" login to the system with ssh due to security reasons.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms