Could not determine security context DBus error on Red Hat Enterprise Linux 5 using oddjob

Solution Verified - Updated -

Issue

  • When using  pam_oddjob_mkhomedir.so PAM module in /etc/pam.d/system-auth and SELinux turned off, the following error might appear after the user tries to log in (e.g. using su -):

    Error org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown: Could not determine security context for ':1.1'
    

Environment

  • Red Hat Enterprise Linux 5.3
  • oddjob-0.27-9.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.