I inadvertently failed to append myself to a group by using usermod -G group_name user_name
instead of usermod -aG group_name user_name
and now belong only to the group_name
group.
The problem is: I can not bring up the grub2 menu with Left-Shift on boot, therefore I can not drop to root login and reinstate my sudo
membership.
Is there another way?
To be clear, I have not lost my password, I have inadvertently removed myself from the admin group.
Vis the mark down. The combination of problems is particular. It is not entirely obvious that each of the two suggestions here is relevant after trawling through many suggestions that offer no solution. Should the question be deleted or left as a marker for others who find themselves unable to bring up the grub menu?
– Tony Martin Mar 04 '16 at 14:33