Bug 155723

Summary: When a user is deleted their activation keys no longer work.
Product: [Retired] Red Hat Network Reporter: John Wregglesworth <wregglej>
Component: RHN/BackendAssignee: John Wregglesworth <wregglej>
Status: CLOSED CURRENTRELEASE QA Contact: Beth Nackashi <bnackash>
Severity: medium Docs Contact:
Priority: medium    
Version: rhn400CC: cperry, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHN 4.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-01 02:33:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 147875, 203925    

Description John Wregglesworth 2005-04-22 15:18:14 UTC
Description of problem: SSIA. Activation keys should not be tied to a specific user.

Comment 1 John Wregglesworth 2005-04-22 15:32:52 UTC
See BZ#155453 for customer report.

Comment 2 John Wregglesworth 2005-05-09 19:56:15 UTC
Test Plan:
o While signed in as the Org Admin, create a new user.

o Go to the new user's Details page and make them an Activation Key 
  Administrator.

o Sign out of the Org Admin account.

o Sign in to the new user's account.

o Go to Systems->Activation Keys and create a new activation key. It needs to be
compatible with a client machine that you will use in a later step. Make a note
of what you enter into the Key text box, you'll need this for a later step.

o Log out of the new user's account.

o Log in to the Org Admin account.

o Go to the new user's details page click the 'delete user' link in the upper
right corner of the page.

o Select a client machine that you want to test the activation key with and make
sure it's not already registered with the satellite. If it is already registered
with the system, go to the System Details page and click on the 'delete system'
link and follow the instructions to delete the system from the satellite.

o Register the client machine using the activation key you created while logged
in as the now-deleted new user.
    -example: rhnreg_ks --activationkey=foo

o Log into the Org Admin account, if necessary, and make sure that the client
system is now registered.
                                                                               
                                       
 

Comment 3 Beth Nackashi 2005-07-31 19:55:04 UTC
verified -- a key created by a user that has been subsequently disabled can
still be used to register a system