{"id":652,"date":"2017-07-21T15:00:30","date_gmt":"2017-07-21T21:00:30","guid":{"rendered":"https:\/\/www.jumpcloud.com\/engineering-blog\/?p=652"},"modified":"2024-02-20T18:03:18","modified_gmt":"2024-02-20T23:03:18","slug":"create-hidden-local-admin-account-mac-systems","status":"publish","type":"post","link":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems","title":{"rendered":"How to Create a Hidden Local Admin on Macs"},"content":{"rendered":"\n

For various reasons, it can be beneficial to have the ability to assist a user without them seeing your admin account when they log in. With JumpCloud, this can be completed easily. The following guide demonstrates this, by showing how to hide a user account on the macOS login window directly from JumpCloud.<\/p>\n\n\n\n

To begin this process, you will want to create a new local admin account on your machine. This can be done within the JumpCloud Admin Console by leveraging <\/span>system\/user binding<\/span><\/a>. Once you have created your new JumpCloud managed account, you are now ready to hide the account from your end-user\u2019s view. This can be achieved using JumpCloud\u2019s <\/span>Commands feature<\/span><\/a>. For this example, we are going to write a short command that will hide the newly created JumpCloud admin from the login window. In addition, we will run a second command to hide the JumpCloud administrator\u2019s home directory from the Finder.<\/span><\/p>\n\n\n

\n
\"\"<\/a><\/figure><\/div>\n\n\n

Hiding a Local Admin Account<\/span><\/h2>\n\n\n\n

The following steps demonstrate how you can modify a JumpCloud Admin account on a machine to hide the account and the admin\u2019s home directory from the user.<\/span><\/p>\n\n\n\n

    \n
  1. Create a new command. This can be done by going to the <\/span>Commands Tab<\/b>, and selecting the \u2018<\/span>+<\/b>\u2019 icon in the upper right hand corner.<\/span><\/li>\n\n\n\n
  2. Next, select that this command is going to be run against Macs, and that we will be running this command as \u2018root\u2019. <\/span><\/li>\n\n\n\n
  3. Then, in the <\/span>Command<\/b> text field, you will want to enter the following:
    <\/span>
    dscl . create \/Users\/JUMPCLOUD_ADMIN_USERNAME IsHidden 1; chflags hidden \/Users\/JUMPCLOUD_ADMIN_USERNAME<\/pre> 

    (It is important to note that you will want to change JUMPCLOUD_ADMIN_USERNAME<\/code> to the actual username of the JumpCloud Admin that was provisioned to the system.) <\/span><\/p><\/li>\n\n\n\n

  4. Select the system(s) that have the administrative account present under the <\/span>Systems<\/b> tab in the <\/span>Commands<\/b> aside, and then select \u2018save command\u2019.<\/span> <\/li>\n\n\n\n
  5. Once you\u2019ve verified that the user is bound to the system, and that you\u2019ve successfully updated the command, you\u2019re ready to run it! This can be done by selecting \u2018run now\u2019. <\/span><\/li>\n<\/ol>\n\n\n\n

    Once the command has successfully run against your system(s), you will now see that the Admin account is not viewable in the login window list, or in the User\u2019s directory. However, you will still be able to sign into this account by entering in the admin\u2019s username at the login window to access the machine.<\/span><\/p>\n\n\n

    \n
    \"\"<\/a><\/figure><\/div>\n\n\n

    With this complete, you can now assist your users on their machines without them being able to see your admin account. <\/span><\/p>\n\n\n\n

    If you have any questions, feel free to reach out to us at <\/span>support@jumpcloud.com<\/span><\/a>.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

    With JumpCloud, you can create a hidden local admin account on a Mac system. This post details out the step-by-step process on how.<\/p>\n","protected":false},"author":61,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"categories":[23,42],"tags":[],"collection":[2778],"platform":[],"funnel_stage":[3016],"coauthors":[2572],"acf":[],"yoast_head":"\nHow to Create a Hidden Local Admin on Macs - JumpCloud<\/title>\n<meta name=\"description\" content=\"With JumpCloud, you can create a hidden local admin account on a Mac system. This post details out the step-by-step process on how.\" \/>\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\/blog\/create-hidden-local-admin-account-mac-systems\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Hidden Local Admin on Macs\" \/>\n<meta property=\"og:description\" content=\"With JumpCloud, you can create a hidden local admin account on a Mac system. This post details out the step-by-step process on how.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems\" \/>\n<meta property=\"og:site_name\" content=\"JumpCloud\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-21T21:00:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-20T23:03:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png\" \/>\n<meta name=\"author\" content=\"Kyle Randolph\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kyle Randolph\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#article\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems\"},\"author\":{\"name\":\"Kyle Randolph\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/506939b49295702a83a10d5c8374aa74\"},\"headline\":\"How to Create a Hidden Local Admin on Macs\",\"datePublished\":\"2017-07-21T21:00:30+00:00\",\"dateModified\":\"2024-02-20T23:03:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems\"},\"wordCount\":435,\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png\",\"articleSection\":[\"Best Practices\",\"News\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems\",\"url\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems\",\"name\":\"How to Create a Hidden Local Admin on Macs - JumpCloud\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png\",\"datePublished\":\"2017-07-21T21:00:30+00:00\",\"dateModified\":\"2024-02-20T23:03:18+00:00\",\"description\":\"With JumpCloud, you can create a hidden local admin account on a Mac system. This post details out the step-by-step process on how.\",\"breadcrumb\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jumpcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Hidden Local Admin on Macs\"}]},{\"@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\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/506939b49295702a83a10d5c8374aa74\",\"name\":\"Kyle Randolph\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/image\/5458c3f024e72029b32e02ff4bacb4cc\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0cfb516039ee382fbfb5a9b749b8f684?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0cfb516039ee382fbfb5a9b749b8f684?s=96&d=mm&r=g\",\"caption\":\"Kyle Randolph\"},\"description\":\"Kyle Randolph works as a Product Manager at JumpCloud, the world's first Directory-as-a-Service. Kyle enjoys learning about emerging technologies and cloud computing.\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Create a Hidden Local Admin on Macs - JumpCloud","description":"With JumpCloud, you can create a hidden local admin account on a Mac system. This post details out the step-by-step process on how.","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\/blog\/create-hidden-local-admin-account-mac-systems","og_locale":"en_US","og_type":"article","og_title":"How to Create a Hidden Local Admin on Macs","og_description":"With JumpCloud, you can create a hidden local admin account on a Mac system. This post details out the step-by-step process on how.","og_url":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems","og_site_name":"JumpCloud","article_published_time":"2017-07-21T21:00:30+00:00","article_modified_time":"2024-02-20T23:03:18+00:00","og_image":[{"url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png"}],"author":"Kyle Randolph","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kyle Randolph","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#article","isPartOf":{"@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems"},"author":{"name":"Kyle Randolph","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/506939b49295702a83a10d5c8374aa74"},"headline":"How to Create a Hidden Local Admin on Macs","datePublished":"2017-07-21T21:00:30+00:00","dateModified":"2024-02-20T23:03:18+00:00","mainEntityOfPage":{"@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems"},"wordCount":435,"publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"image":{"@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage"},"thumbnailUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png","articleSection":["Best Practices","News"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems","url":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems","name":"How to Create a Hidden Local Admin on Macs - JumpCloud","isPartOf":{"@id":"https:\/\/jumpcloud.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage"},"image":{"@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage"},"thumbnailUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png","datePublished":"2017-07-21T21:00:30+00:00","dateModified":"2024-02-20T23:03:18+00:00","description":"With JumpCloud, you can create a hidden local admin account on a Mac system. This post details out the step-by-step process on how.","breadcrumb":{"@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#primaryimage","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2017\/07\/User-Groups-Before-1-300x217.png"},{"@type":"BreadcrumbList","@id":"https:\/\/jumpcloud.com\/blog\/create-hidden-local-admin-account-mac-systems#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jumpcloud.com\/"},{"@type":"ListItem","position":2,"name":"How to Create a Hidden Local Admin on Macs"}]},{"@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\/"}},{"@type":"Person","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/506939b49295702a83a10d5c8374aa74","name":"Kyle Randolph","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/image\/5458c3f024e72029b32e02ff4bacb4cc","url":"https:\/\/secure.gravatar.com\/avatar\/0cfb516039ee382fbfb5a9b749b8f684?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0cfb516039ee382fbfb5a9b749b8f684?s=96&d=mm&r=g","caption":"Kyle Randolph"},"description":"Kyle Randolph works as a Product Manager at JumpCloud, the world's first Directory-as-a-Service. Kyle enjoys learning about emerging technologies and cloud computing."}]}},"_links":{"self":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/652"}],"collection":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/users\/61"}],"replies":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":3,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/652\/revisions"}],"predecessor-version":[{"id":106211,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/652\/revisions\/106211"}],"wp:attachment":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media?parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/categories?post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/tags?post=652"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/collection?post=652"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/platform?post=652"},{"taxonomy":"funnel_stage","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/funnel_stage?post=652"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/coauthors?post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}