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 - 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.