Enable Sudo Password for Core User

Solution Verified - Updated -

Issue

  • Need the ability in OpenShift / RHCOS to configure the core user to require a password when using sudo.

  • Requiring a password for sudo is necessary to align with stricter security and compliance policies in certain environments.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat Enterprise Linux CoreOS (RHCOS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content