Re: selinux prevents user to log-in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/08/2017 11:06 PM, Joe Zeff wrote:
> On 11/08/2017 09:09 PM, Ralf Corsepius wrote:
>> On 11/09/2017 05:35 AM, Joe Zeff wrote:
>>> On 11/08/2017 08:01 PM, Ralf Corsepius wrote:
>>>> You can't touch /.autorelabel, when you can't log-in ;)
>>>
>>> You can always boot into rescue mode, touch /.autorelabel and reboot.
>>
>> Actually, I have never used rescue mode and have never found it useful
>> for anything ;)
>>
> I've never had to use it, but I'd certainly give it a try for something
> like this, or boot into what used to be called runlevel 1.  Failing
> that, I'd boot from a LiveUSB, mount the root partition, cd to it and
> touch .autorelabel.  Then, I'd reboot without the USB in and let it
> relabel things.

Just boot, bugger the boot line in grub to disable selinux for THIS
one boot, and boot it into run level 2. Log in as root at the console,
"touch /.autorelabel", reboot again and wait for the autorelabel to
complete. Job done.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-    If Windows isn't a virus, then it sure as hell is a carrier!    -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux