How can I grant access to non-root user to run specific pcs commands only ?

Solution Verified - Updated -

Issue

  • Is it possible to delegate specific cluster commands like enabling and disabling the maintenance mode to a non-root user?
  • I want to give access to the User1 of my Application Team to execute specific cluster commands so that involvement of root administrator can be eliminated during application maintenance activity.

Environment

  • Red Hat Enterprise Linux 7
  • High Availability and/or Resilient Storage Add-on
  • pcs

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