Bug 1377264 - Default User not added to sudoers file after installing Fedora 24 LXDE
Summary: Default User not added to sudoers file after installing Fedora 24 LXDE
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 24
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-19 10:44 UTC by Damon Harris
Modified: 2016-09-28 08:28 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-28 08:28:36 UTC
Type: Bug


Attachments (Terms of Use)
Screenshot of the "Actual Result" (501.09 KB, image/png)
2016-09-19 10:44 UTC, Damon Harris
no flags Details

Description Damon Harris 2016-09-19 10:44:03 UTC
Created attachment 1202427 [details]
Screenshot of the "Actual Result"

Description of problem:
The user created via the installer's (anaconda's) screen (while the installation is in progress) is not being added to the sudo group or the sudoers file after the completion of the installation.

How reproducible:
Always. 

Steps to Reproduce:
1. Boot Fedora 24 LXDE (Spin) edition in a computer.
2. Start the installation process in Fedora into your computer.
3. While installing create an user using the option provided in the install screen, make sure that the "Make this user Administrator" checkbox is unchecked.
4. Set a root password.
5. Wait for the installation to complete.
6. Reboot into the freshly installed OS
7. Open terminal and run this command (without quotes): "sudo echo foobar"

Actual results:
"<user> is not in the sudoers file. This incident will be reported." as the output to the command. NOTE: <user> is a place holder for the username of the User created during Step 3.

Expected results:
"foobar" as the output to the command.

Additional info:
This test was done in a Virtual Machine created in Virtual Box.

Comment 1 Daniel Kopeček 2016-09-19 12:19:02 UTC
Could you please verify, that <user> is a member of the wheel group? The installer should add users that should have "Administrator" privileges to the wheel group.

You can use the id command to inspect group membership. Alternatively, you can use "getent group wheel" to list only member of the wheel group.

Comment 2 Damon Harris 2016-09-19 12:25:27 UTC
Hello, Sorry but I am new here on bugzilla, I see that I have been issued a "needinfo". I have no clue about what should I clarify...

Comment 3 Daniel Kopeček 2016-09-19 12:27:22 UTC
Sorry, I marked my comment as private by mistake. See comment #1.

Comment 4 Damon Harris 2016-09-19 12:31:53 UTC
(In reply to Daniel Kopeček from comment #3)
> Sorry, I marked my comment as private by mistake. See comment #1.

Ah, no problem :)

I just ran the command "getent group wheel" and I got this as output: "wheel:x:10:". Looks like I am not in the wheel group!

Comment 5 Daniel Kopeček 2016-09-19 12:39:47 UTC
Ok, then you should reassign this bug to a the LXDE installer component (not sure about the correct package name) as it probably failed to setup the user correctly (it did not add him to the wheel group).

Comment 6 Damon Harris 2016-09-19 12:41:24 UTC
Isn't it anaconda?

Comment 7 Damon Harris 2016-09-28 08:28:36 UTC
I think I made a major mistake here... In the 3rd step for reproducing the issue, I told to uncheck the administrator box. At the time of reporting, I was not aware but I think this is expected behaviour, if the user is not an administrator, he should not get added to the wheel group!

Sorry again :(


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