Using current kerberos credentials, how to allow user to run a script / command on multiple servers without being prompted for password?

Solution Verified - Updated -

Issue

  • Using current kerberos credentials, how to allow user to run a script / command on multiple servers without being prompted for password?

  • For example,
    Trusted user is logged into Server A using valid kerberos credentials. That user also has access to perform a task on Servers B, C, D and E.
    From server A, he wants to be able to run a script that restarts the service on all 4 servers.
    This should be accomplished by running "ssh@serverb service restart" from Server A without password prompt.

Environment

  • Red Hat Enterprise Linux 5, 6
  • Active Directory
  • Kerberos

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