From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:22.214.171.124) Gecko/20061105 Red Hat/1.0.6-0.1.el4 SeaMonkey/1.0.6
Description of problem:
We have hundreds of users who only use their RHN accounts for two purposes, both of which I'd like to see incorporated into up2date so these accounts and the overhead of creating and managing them can be eliminated.
Please consider adding the ability to subscribe to and unsubscribe from specified channels via the command line so a visit to the RHN website isn't required to accomplish this task. Perhaps this can be accomplished via the API, but typical users are fairly comfortable using up2date so having this functionality in up2date seems natural and would be very helpful to our organization.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
specifically consider the custom channel use case where installation numbers
wouldn't be of much help.
Also, we should consider this for 5.1 and put it on the API list request.
this was filed under RHEL 5 beta. Moving this to RHEL 5.1, although at this
point 5.2 is likely more appropriate (I apologize for missing that this was
Also, please note that adding a Satellite API call would not help many customers
needing this feature, especially University customers, because it would require
a login/password to the Satellite to run the API script client-side (API scripts
require a Satellite login/pass to run) and some universities prefer to not give
their users login access to the Satellite.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
note: this affects hosted and satellite customers...
User firstname.lastname@example.org's account has been closed
Product Management has reviewed and declined this request. You may appeal this
decision by reopening this request.
Could we have additional understanding on why this was declined?
The code has been in the up2date client for a while, just never bubbled up to
the UI. Check out line 317 of /usr/share/rhn/up2date_client/rhnChannel.py
*** Bug 459432 has been marked as a duplicate of this bug. ***
Created new script spacewalk-channel (comes with man page Jan :)
This script has options --add, --remove and --list. For all but --list is mandatory to specify username and password. The same you use for login to RHN webUI. So even if you are root, you still have to authenticate yourself. And when you know that username/password you can add/remove those channel in webUI already. Therefore this script do not weaken security in any direction.
This script will be included in package rhn-setup.
This script use backend API call subscribeChannel and unsubcribeChannel which unfortunatelly contain bug in authorization part. It is reported as BZ
540974 and BZ 540544, but it will mean this script will be functional only if used against rhn.redhat.com and RHN Satellite 5.3.1 and higher.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.