Linux: Fedora – Enterprise login user cannot obtain sudo or root
This happened specifically with Fedora 28, but may apply to other versions.
Open a shell in initrd, mount /sysroot as read-write and edit /sysroot/etc/group
2. In grub press “e” to edit the menu entry
3. Search for a line that starts either with linux16 or linuxefi and append the string ” rd.break”
4. Press ctrl+x
5. Mount the /sysroot as read-write: mount -oremount,rw /sysroot
6. Open /sysroot/etc/group in a text editor
7. search for the line “wheel:x:10:” and append your user
8. You may run into selinux issues, so either set it to permissive (edit /sysroot/etc/selinux/config) or touch /sysroot/.autorelabel
9. reboot again
10. If in step 8 you set selinux to permissive, restorecon /etc/group and reset selinux back to enforcing and reboot again.