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.

Bug 1043785

Summary: Anaconda does not set up administrator users properly
Product: Red Hat Enterprise Linux 7 Reporter: Michel Lind <michel>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: pza
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-13 11:51:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michel Lind 2013-12-17 07:32:33 UTC
Description of problem:
Fresh installation of RHEL 7 beta x86_64, with only a single administrator user created and root password not set. After installation is finished I cannot use sudo, which after rescuing the system turns out to be because the rule in /etc/sudoers allowing members of %wheel to use sudo is still commented out

Version-Release number of selected component (if applicable):
sudo-1.8.6p7-7.el7.x86_64.rpm

How reproducible:
Always


Steps to Reproduce:
1. Fresh install of RHEL 7 beta, with root password unset but an admin user defined
2. Boot the newly installed system
3. Log in and try to use sudo

Actual results:
Attempt fails, user not authorized. While user is in %wheel, the group is not authorized to use sudo

Expected results:
Attempt should succeed -- 

Additional info:
In sudo 1.8.8-1 as shipped in Fedora 20 (and presumably whichever version is default in Fedora 19) the default is for %wheel to be able to use sudo with password

Comment 2 Phil Anderson 2013-12-30 22:46:43 UTC
This got me as well.  It appears to be intentional (see bug 969373).  Just to confuse everyone, instead of using sudo we need to use pkexec on RHEL 7 by default.

Comment 3 Daniel Kopeček 2014-01-13 11:51:15 UTC

*** This bug has been marked as a duplicate of bug 994623 ***