Thursday, January 27, 2011

Would you like to enter a security context?

When I login , it asks me "Would you like to enter a security context?"

I have SELinux enabled ..I'm using Fedora 12. How to resolve this?

  • Unless you have a specific need for SELinux I would just disable it, as it makes troubleshooting things more complicated.

    1) Boot into single user mode: When you first start your computer, the GRUB screen (where you choose your Operating System) appears. Select the Fedora that you want to boot into, but press the a key instead of pressing Enter. append 'single' to the arguments there.

    2) Then set SELINUX=disabled in /etc/selinux/config

    3) reboot

    Tom O'Connor : I tend to set it to permissive, rather than disabled, because at least that way it logs stuff that has a different SELinux configuration to what is expected.
    From mark
  • You could try something similar to this bug report by adding a < /dev/null

  • Thanks everybody, the issue is with working of Pam.d with selinux enabled. I turned off pam.d features .its working now. though i need to re-look into /etc/pam.d/login instead of disabling it complete.

    I have two choices - 1.disble selinux or 2.disable pam.d for login server. I chose 2.

0 comments:

Post a Comment