November
18
Linux: Fixing Fedora 28 root access when using Enterprise logon mode
When setting up Fedora 28 for enterprise login on installation there is a bug goes not allow root access for your enterprise user. As a result there is no way to sudo or su with out doing the following fix:
Open a shell in initrd, mount /sysroot as read-write and edit /sysroot/etc/group
Steps:
1. Reboot
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.