Could not determine security context DBus error 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 (RHEL) 5.3
    • oddjob-0.27-9.el5
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content