Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
VERIFIED. rhn-setup-1.0.0.1-16.el6.noarch
# man rhn-channel
<snip>
-u, --user
Your username used to register the system with and for Red Hat Network, RHN Satellite or
Spacewalk. If you do not enter this option and it is required, you will be prompted.
-p, --password
The password associated with the username specified with the --user option. This is an unen-
crypted password. If you do not enter this option and it is required, you will be prompted.
</snip>
>>> no "--username" is present
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2013-1702.html
Description of problem: rhn-channel references "--username" while "rhn-channel --help" actually uses "--user" Version-Release number of selected component (if applicable): rhn-setup-1.0.0-87.el6.noarch How reproducible: Every time Steps to Reproduce: 1. man rhn-channel 2. 3. Actual results: PACEWALK-CHANNEL(8) Red Hat, Inc. SPACEWALK-CHANNEL(8) NAME spacewalk-channel - Subscribe to or unsubscribe system from channel. SYNOPSIS spacewalk-channel [options] DESCRIPTION spacewalk-channel allows you to subscribe to and unsubscribe from specified channels via the command line. A visit to the Red Hat Network (or Spacewalk) website isn’t required. OPTIONS -l, --list Print a list of channel(s) that you are currently subscribed to. -L, --available-channels Print a list of all available child channels. -a, --add You are subscribing system to given channel(s). You have to specify --user and --password. -r, --remove You are unsubscribing system to given channel(s). You have to specify --user and --password. -u, --username Your username used to register the system with and for Red Hat Network, RHN Satellite or Spacewalk. If you do not enter this option and it is required, you will be prompted. -p, --password The password associated with the username specified with the --username option. This is an unencrypted password. If you do not enter this option and it is required, you will be prompted. -c, --channel Label of channel you want to subscribe to or unsubscribe from. Can be specified multiple times. -v, --verbose Print out successfull action. -h, --help Show a help message and exit. NOTE The addition and removal of channels is mutually exclusive, please use the command twice. EXAMPLES Subscribe to two channels: spacewalk-channel --add -c rhn-tools-rhel-i386-server-5 -c rhel-i386-server-vt-5 --user username --password password Unsubscribe from channel: spacewalk-channel --remove -c rhn-tools-rhel-i386-server-5 -c rhel-i386-server-vt-5 --user username --password password List subscribed channels: spacewalk-channel --list SEE ALSO rhnplugin(8), rhn_register(8), up2date(5). AUTHORS Miroslav Suchý <msuchy> BUGS Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT Copyright © 2009-2010 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Linux 2010 July 8 SPACEWALK-CHANNEL(8) Expected results: Same results except for "--user" instead of "--username" Additional info: rhn-channel --help Usage: rhn-channel [options] Options: -c CHANNEL, --channel=CHANNEL name of channel you want to (un)subscribe -a, --add subscribe to channel -r, --remove unsubscribe from channel -l, --list list channels -L, --available-channels list all available child channels -v, --verbose verbose output -u USER, --user=USER your user name -p PASSWORD, --password=PASSWORD your password -h, --help show this help message and exit