How can I script rhncfg-manager so that it does not prompt for a password?
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. So far it works well. But how can we specify the password the rhncfg-manager is asking for without being prompter for it?
Environment
- Red Hat Network Satellite 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
