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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In