How can I script rhncfg-manager so that it does not prompt for a password?

Solution Unverified - Updated -

Issue

  • We use the rhncfg-manager list-channels command within a script to get a list of all Satellite channels
  • In the [rhncfg-manager] section of ~/.rhncfgrc we did set the user for the connection
  • How can we specify the password the rhncfg-manager is asking for without being prompted for it?

Environment

  • Red Hat Network Satellite 5.5 and before

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