Bug 918036 - RFE - rhncfg-manager supports --username and --password from CLI
Summary: RFE - rhncfg-manager supports --username and --password from CLI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Configuration Management
Version: 550
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Martin Korbel
URL:
Whiteboard:
: 592314 (view as bug list)
Depends On:
Blocks: sat560-blockers
TreeView+ depends on / blocked
 
Reported: 2013-03-05 11:16 UTC by Dimitar Yordanov
Modified: 2018-12-03 18:24 UTC (History)
5 users (show)

Fixed In Version: rhncfg-5.10.55-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 19:59:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch : --password --username + other small fixes (4.59 KB, patch)
2013-03-05 11:57 UTC, Dimitar Yordanov
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 230204 1 high CLOSED [RFE] hammer: Support storage of encrypted passwords 2024-01-13 02:49:26 UTC

Internal Links: 230204

Comment 1 Dimitar Yordanov 2013-03-05 11:57:36 UTC
Created attachment 705369 [details]
Patch : --password --username  + other small fixes

Comment 2 Jan Pazdziora 2013-03-15 11:24:25 UTC
*** Bug 592314 has been marked as a duplicate of this bug. ***

Comment 5 Matej Kollar 2013-09-05 12:06:34 UTC
Information about those options is missing man page.

Comment 6 Dimitar Yordanov 2013-09-06 14:58:23 UTC
Description for the newly introduced switches (--username, --password) was added to the rhncfg-manager man page. 
Spacewalk Master: 4cb4e1607d1842e076257a607d5a2e5eed4d10de

Comment 8 Tomas Lestach 2013-09-09 11:26:39 UTC
Btw. Dimitar, thank you for the patch! :-)

Comment 10 Martin Korbel 2013-09-18 12:24:09 UTC
VERIFIED on rhncfg-management-5.10.55-5.el5sat
REPRODUCED on rhncfg-management-5.10.27-12.el5sat

Steps to reproduce:
> rhncfg-manager --username=admin --password=xxx list-channels

OLD:
Usage: /usr/bin/rhncfg-manager MODE [ --server-name name ] [ params ]
Valid modes are:
	add
	create-channel
	diff
...


NEW:
Using server name sun-x8420-01.rhts.eng.bos.redhat.com
Available config channels:
  rhn_proxy_config_1000010005
  test



>man rhncfg-manager
...
SYNOPSIS
       rhncfg-manager [ MODE ] [ --server-name name ] [ --username user ] [ --password pass
 ] [ params ]
...
OTHERS
       --server-name
              Spacewalk server name.

       --username
              Spacewalk user name.

       --password
              Spacewalk password for the specified user.

       -h, --help
              Display the help screen with a list of options.

              Use context sensitive help as well with the diffent "modes".  E.g.,
              rhncfg-manager upload-channel --help

Comment 11 Clifford Perry 2013-10-01 19:59:21 UTC
This bug was fixed with updated packages being released within the RHN Tools channels. 


RHN Tools (for Sat 5.6 GA) Errata text:

https://rhn.redhat.com/errata/RHEA-2013-1391.html


Note You need to log in before you can comment on or make changes to this bug.