---
title: "Shim Internals"
description: "Learn how the Userify shim uses Linux tools to manage local accounts, public keys, and sudo rules."
url: "https://userify.published.dev/docs/shim-internals.md"
canonical_url: "https://userify.published.dev/docs/shim-internals"
section: "Docs"
updated: "2026-12-01"
---

> Breadcrumbs: Docs > Shim Internals
> Sitemap: https://userify.published.dev/docs/sitemap.md
> LLMS index: https://userify.published.dev/docs/llms.txt

# Shim Internals

The [Userify shim](https://github.com/userify/shim) uses existing Linux tools,
such as `adduser` and `sudo`, to manage local accounts and permissions.

## How configuration reaches a server

Servers periodically contact their configured Userify service and request
current user and public-key configuration. The shim applies that configuration
with standard Linux tools, such as `useradd`.

## When a server cannot connect

Local accounts remain on the server if its Userify service is unavailable.
The server cannot receive new configuration while it is disconnected. This
guide does not specify how quickly a later change or removal takes effect.

## Continue reading
- Previous: [Use a Jump Box for SSH](https://userify.published.dev/docs/jumpbox.md)
- Next: [Shim Debugging](https://userify.published.dev/docs/shim-support-script.md)

## Section links
- [Docs home](https://userify.published.dev/docs)
- [LLMS index](https://userify.published.dev/docs/llms.txt)
- [Sitemap](https://userify.published.dev/docs/sitemap.md)