1

I have a CentOS 6 installation (on a USB disk) that I use for repairs etc. I recently moved the installation to a new disk, and now something strange is happening. Immediately after I logon I am logged off. I logon as root (no other user accounts).

In both runlevel 3 (console) and runlevel 5 (GUI) the same thing happens. However, I can get into the system using runlevel 1.

Can someone suggest what might be going wrong, and how to fix this?

I tried running the individual and shared profile and bash scripts (once logged in under runlevel 1) and they work fine...I'm not logged out.

Out of ideas...

TSG
  • 2,014
  • 8
  • 41
  • 66

1 Answers1

1

On RHEL got same problem (logged out in terminal after entering password), and my culprit was definitely SElinux too. Solution was: reboot into grub, edit boot record, add options enforcing=0 autorelabel=1, press F10 to boot.

Kyo
  • 46