Re: selinux prevents user to log-in

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

 



On 11/09/2017 05:26 AM, Dirk Gottschalk wrote:

Am 9. November 2017 05:01:44 MEZ schrieb Ralf Corsepius <rc040203@xxxxxxxxxx>:
On 11/08/2017 07:26 PM, Earl A Ramirez wrote:

On 8 November 2017 at 12:23, Ralf Corsepius <rc040203@xxxxxxxxxx
<mailto:rc040203@xxxxxxxxxx>> wrote:

     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....




Try touch ./autorelabel
You can't touch /.autorelabel, when you can't log-in ;)

When this happens it means that your SELinux label is incorrect for
/etc/shadow
Or /etc/ssh ;)

You can try to perform restorecron -R /etc/shadow
You also can't do this when you can't log-in.

Ralf
You should still be able to log in as root an a text console

True, in most cases this is still possible - But I've also tripped occasions, when even this wasn't possible anymore.

Ralfl
_______________________________________________
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