Re: selinux prevents user to log-in

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

 



On 11/08/2017 04:34 PM, François Patte wrote:
Bonjour,

I have just upgraded an f23 to f26, keeping the home partition.

selinux blocks the user log-in: when I try to log in, lightdm shows my
login name, but when I enter my password, the process aborts and I go
back to the lightdm login screen....

Been there, seen that dozens of times.

If I disable selinux, I can login.

What to do: permanentely disable selinux?

Try to initiate relabeling.

The probably easiest way to do so is:
1. Reboot
2. Wait for the grub menu to appear, select the kernel you want to boot and press "e" (edit). 3. Scroll down to the line beginning with linux* (e.g. linux16 or linuxefi) and append "selinux=0" (without the '"') to it.
4. Press Ctrl-x (boot)

Now the machine should boot with selinux being disabled.

When the machine is up, reboot again.

SELinux now should be reenabled and the filesystem be automatically relabeled.

In the cases I encountered this had helped.

Ralf





_______________________________________________
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