{"id":120988,"date":"2025-02-11T15:40:42","date_gmt":"2025-02-11T20:40:42","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=120988"},"modified":"2025-02-11T15:40:46","modified_gmt":"2025-02-11T20:40:46","slug":"troubleshoot-incomplete-agent-uninstall","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall","title":{"rendered":"Troubleshoot: Incomplete Agent Uninstall"},"content":{"rendered":"\n

Symptoms<\/h2>\n\n\n\n

The user logins fail at the User login window and screen lock, but FileVault logins proceed as usual.<\/p>\n\n\n\n

Cause<\/h2>\n\n\n\n

This usually occurs when the device’s MDM enrollment is removed prior to the complete deletion of the device record in the Admin Portal. This sequence removes Full Disk Access from the JumpCloud agent, which is required to undo custom pam.d configuration on placed on the system for our service.<\/p>\n\n\n\n

When this configuration remains in place after the JumpCloud agent has been removed, all logins will fail due to the JumpCloud PAM module being required as part of the login process, but it not existing on the system.<\/p>\n\n\n\n

Resolution<\/h2>\n\n\n\n

Modify the pam.d configuration files from macOS Recovery.<\/p>\n\n\n\n

    \n
  1. Boot device in macOS recovery mode.<\/li>\n\n\n\n
  2. Ensure the Macintosh HD – Data volume is mounted (you can mount it leveraging Disk Utility by selecting the volume and clicking \u201cMount\u201d – a FileVault password or recovery key will be required if encrypted).<\/li>\n\n\n\n
  3. Go to Utilities > Terminal<\/li>\n\n\n\n
  4. Remove the jcagent<\/code> configuration lines from the pam.d configuration files – run each line independently:
    \n
      \n
    • sed -i ‘.bak’ ‘\/jcagent\/d’ \/Volumes\/Macintosh\\ HD\/etc\/pam.d\/authorization<\/li>\n\n\n\n
    • sed -i ‘.bak’ ‘\/jcagent\/d’ \/Volumes\/Macintosh\\ HD\/etc\/pam.d\/screensaver<\/li>\n\n\n\n
    • sed -i ‘.bak’ ‘\/jcagent\/d’ \/Volumes\/Macintosh\\ HD\/etc\/pam.d\/screensaver_new<\/li>\n\n\n\n
    • sed -i ‘.bak’ ‘\/jcagent\/d’ \/Volumes\/Macintosh\\ HD\/etc\/pam.d\/screensaver_ls<\/li>\n\n\n\n
    • sed -i ‘.bak’ ‘\/jcagent\/d’ \/Volumes\/Macintosh\\ HD\/etc\/pam.d\/screensaver_new_ls
      <\/li>\n<\/ul>\n<\/li>\n\n\n\n
    • Restart the system and log in to verify fix. Logins should proceed correctly now.<\/li>\n<\/ol>\n\n\n\n

      <\/p>\n","protected":false},"excerpt":{"rendered":"

      Symptoms The user logins fail at the User login window and screen lock, but FileVault logins proceed as usual. Cause […]<\/p>\n","protected":false},"author":204,"featured_media":0,"template":"","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"support_category":[3161,3127],"support_tag":[],"coauthors":[2838],"acf":[],"yoast_head":"\nTroubleshoot: Incomplete Agent Uninstall - JumpCloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshoot: Incomplete Agent Uninstall\" \/>\n<meta property=\"og:description\" content=\"Symptoms The user logins fail at the User login window and screen lock, but FileVault logins proceed as usual. Cause […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall\" \/>\n<meta property=\"og:site_name\" content=\"JumpCloud\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-11T20:40:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/202405-MISC-JumpCloudHelpCenter-SiteDisplay-min-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"890\" \/>\n\t<meta property=\"og:image:height\" content=\"525\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"jenniferklein\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall\",\"url\":\"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall\",\"name\":\"Troubleshoot: Incomplete Agent Uninstall - JumpCloud\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/#website\"},\"datePublished\":\"2025-02-11T20:40:42+00:00\",\"dateModified\":\"2025-02-11T20:40:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jumpcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Support\",\"item\":\"https:\/\/jumpcloud.com\/support\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Troubleshoot: Incomplete Agent Uninstall\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jumpcloud.com\/#website\",\"url\":\"https:\/\/jumpcloud.com\/\",\"name\":\"JumpCloud\",\"description\":\"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.\",\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jumpcloud.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jumpcloud.com\/#organization\",\"name\":\"JumpCloud\",\"url\":\"https:\/\/jumpcloud.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"width\":598,\"height\":101,\"caption\":\"JumpCloud\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Troubleshoot: Incomplete Agent Uninstall - JumpCloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall","og_locale":"en_US","og_type":"article","og_title":"Troubleshoot: Incomplete Agent Uninstall","og_description":"Symptoms The user logins fail at the User login window and screen lock, but FileVault logins proceed as usual. Cause […]","og_url":"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall","og_site_name":"JumpCloud","article_modified_time":"2025-02-11T20:40:46+00:00","og_image":[{"width":890,"height":525,"url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/202405-MISC-JumpCloudHelpCenter-SiteDisplay-min-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute","Written by":"jenniferklein"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall","url":"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall","name":"Troubleshoot: Incomplete Agent Uninstall - JumpCloud","isPartOf":{"@id":"https:\/\/jumpcloud.com\/#website"},"datePublished":"2025-02-11T20:40:42+00:00","dateModified":"2025-02-11T20:40:46+00:00","breadcrumb":{"@id":"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jumpcloud.com\/support\/troubleshoot-incomplete-agent-uninstall#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jumpcloud.com\/"},{"@type":"ListItem","position":2,"name":"Support","item":"https:\/\/jumpcloud.com\/support"},{"@type":"ListItem","position":3,"name":"Troubleshoot: Incomplete Agent Uninstall"}]},{"@type":"WebSite","@id":"https:\/\/jumpcloud.com\/#website","url":"https:\/\/jumpcloud.com\/","name":"JumpCloud","description":"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.","publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jumpcloud.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jumpcloud.com\/#organization","name":"JumpCloud","url":"https:\/\/jumpcloud.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","width":598,"height":101,"caption":"JumpCloud"},"image":{"@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/120988"}],"collection":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/types\/support"}],"author":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/users\/204"}],"version-history":[{"count":1,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/120988\/revisions"}],"predecessor-version":[{"id":120989,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/120988\/revisions\/120989"}],"wp:attachment":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media?parent=120988"}],"wp:term":[{"taxonomy":"support_category","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_category?post=120988"},{"taxonomy":"support_tag","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_tag?post=120988"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/coauthors?post=120988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}