Red Hat Bugzilla – Bug 158398
Firstboot-created user should be added to wheel group
Last modified: 2007-11-30 17:11:06 EST
Description of problem:
The point of adding a user during firstboot is to encourage people to not login
as root. Sudo is a helpful tool for administration, but is not setup by default.
It would be helpful if the firstboot added user was added to wheel to enable
sudo use. Foresight Linux, for example, does exactly this in firstboot.
About the only circumstances I can think of where this would not be a good thing
would be if firstboot was used to create a non-administrative user while the
root admin simply used root. I have to imagine the more common use is a desktop
user setting up his account and then su-ing to everything.
Version-Release number of selected component (if applicable):
Try "sudo Command" as newly added user.
Newly added user is able to use sudo.
Created attachment 114673 [details]
Patches firstboot so adduser includes -G wheel
The "Users and Groups" tool can be used to set up groups after installation. I
don't like the idea of implicitly adding a user to an important group such as
wheel. In addition, we would like to be moving away from having a root user for
most things if at all possible.