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

Current Customers and Partners

Log in for full access

Log In