On 3/17/20 3:19 PM, Ranjan Maitra wrote:
On Tue, 17 Mar 2020 17:11:46 -0500 Ranjan Maitra <maitra@xxxxxxxxx> wrote:
On Tue, 17 Mar 2020 14:53:26 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote:
Since I'm not sure which rescue setup you have, I'll give you the easier
method. At the grub menu edit the boot entry and add "init=/bin/bash"
to the end of the linux line. This will boot you right to a root bash
prompt. Then run the following two commands, replace "username" with
your real username:
/usr/sbin/usermod -a -G wheel username
However, I get a bunch of selinux context stuff (in a line), at the end of which it says "res=failed". This laptop is one of those 4K resolution ones and so has very small print on the console and so I could not take a picture that is clear enough.
Actually, I missed a line earlier. I get:
usermod: cannot lock /etc/passwd: try again later
I see that one.
and then gives this selinux stuff under audit:
I don't see that. Where did you find that?
Anyway, what I missed is that / is still read-only at that point. So
before the other commands I gave you, run:
mount -o rw,remount /
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx