Bug 703491 - firstboot does not block invalid users
Summary: firstboot does not block invalid users
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: J.C. Molet
URL:
Whiteboard:
Depends On:
Blocks: 675214
TreeView+ depends on / blocked
 
Reported: 2011-05-10 14:07 UTC by J.C. Molet
Modified: 2011-07-21 12:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 08:45:23 UTC
Target Upstream Version:


Attachments (Terms of Use)
invalid fb user (116.67 KB, image/png)
2011-05-10 14:07 UTC, J.C. Molet
no flags Details
firstboot now blocks on the Entitlement Registration panel when invalid credentials are supplied (131.82 KB, image/png)
2011-05-13 18:12 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1078 0 normal SHIPPED_LIVE new package: subscription-manager 2011-07-21 08:45:07 UTC

Description J.C. Molet 2011-05-10 14:07:01 UTC
Created attachment 498012 [details]
invalid fb user

Description of problem:
When registering subscription-manager in firstboot, you are allowed to continue through the screens when using an invalid username.

Version-Release number of selected component (if applicable):
subscription-manager-gnome-0.95.5.10-1.git.6.ad7cd7d.el5
subscription-manager-firstboot-0.95.5.10-1.git.6.ad7cd7d.el5
subscription-manager-0.95.5.10-1.git.6.ad7cd7d.el5

Steps to Reproduce:
1. Find a rhel5 machine with rhsm installed.
2. Fire up firstboot
3. Progress through the screens and choose to register with subscription manager
4. Enter in a bogus username and password
  
Actual results:
You get the pop up error, but firstboot progresses to the next step (see screenshot)

Expected results:
You get the pop up error, and firstboot cannot progress to the next screen.

Comment 1 Adrian Likins 2011-05-12 17:37:30 UTC
commit ac042bed7e00f09214782cfe54b62a92458335b9
Author: Adrian Likins <alikins>
Date:   Tue May 10 12:44:23 2011 -0400

    703491: firstboot would continue to next screen on auth failure
    
    RHEL5 firstboot expects a None/!None response to apply(), not
    True/False

456ded7c7d579bf9560e77ad9f6a679b265342e5 in master

Comment 2 John Sefler 2011-05-13 18:12:02 UTC
Created attachment 498838 [details]
firstboot now blocks on the Entitlement Registration panel when invalid credentials are supplied

Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.95.5.14-1.git.3.83b3a73.el5
subscription-manager-firstboot-0.95.5.14-1.git.3.83b3a73.el5
subscription-manager-0.95.5.14-1.git.3.83b3a73.el5


Also verified that firstboot blocks on the Entitlement Registration panel when:
1. no login is supplied.
2. no password is supplied
3. no system name is supplied
4. system begins with a #
5. invalid credentials are supplied

Comment 3 errata-xmlrpc 2011-07-21 08:45:23 UTC
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.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 4 errata-xmlrpc 2011-07-21 12:30:30 UTC
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.

http://rhn.redhat.com/errata/RHEA-2011-1078.html


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