Description of problem: we are not able to automate tasks without using 'expect'. rhnreg_ks has possibility to enter password using its own option, it would be nice to have such possibility in other rhn tools. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. install rhncfg-management 2. run rhncfg-manager list-channels --username=some_username_here --password=very_secret_password_here 3. check results Actual results: # rhncfg-manager list-channels --username=some_username_here --password=very_secret_password_here Usage: rhncfg-manager list-channels rhncfg-manager: error: no such option: --username # rhncfg-manager list-channels --password=very_secret_password_here Usage: rhncfg-manager list-channels rhncfg-manager: error: no such option: --password Expected results: # rhncfg-manager list-channels --username=some_username_here --password=very_secret_password_here Available config channels: # echo $? 0 Additional info:
Note this is to automate RHN Proxy installation easily. This might be only some config file variable. Same as user name is.
Marking as dupe of 918036 which has proposed patch attached to it. *** This bug has been marked as a duplicate of bug 918036 ***