Bug 1046708 - rhnreg_ks - old password is accepted and system is registered in Spacewalk
Summary: rhnreg_ks - old password is accepted and system is registered in Spacewalk
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2013-12-26 17:10 UTC by Curtis
Modified: 2017-09-28 18:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-03 15:20:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Curtis 2013-12-26 17:10:28 UTC
Description of problem:
rhnreg_ks registration works with an old password. If password is reset and old password is used with registration command it succeeds. 

Version-Release number of selected component (if applicable):
1.9

How reproducible:
100% of retries.

Steps to Reproduce:
1. Use rhnreg_ks to register a server with the Spacewalk server using --password
2.rhnreg_ks --username=admin --password=<prvious_password> --serverUrl=http://spacewalk/XMLRPC --activationkey="hi_hello" --force
3.

Actual results:
Server is registered to Spacewalk with old password.

Expected results:
Rejection of registration process due to invalid password.

Additional info:

Comment 1 Milan Zázrivec 2014-01-03 15:20:38 UTC
As long as you use activation key to register your clients, any
user / password information passed in to rhnreg_ks is no longer relevant
and your system will be registered based on the activation key used.

Without the activation key, the old password will not be accepted, just
as you would expect.

Closing with not a bug.

Comment 2 Eric Herget 2017-09-28 18:09:06 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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