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

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.