---
title: "Shim Debugging"
description: "Collect a shim diagnostic report and review it before sharing it with Userify support."
url: "https://userify.published.dev/docs/shim-support-script.md"
canonical_url: "https://userify.published.dev/docs/shim-support-script"
section: "Docs"
updated: "2026-12-01"
---

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

# Shim Debugging

Run this script only on the affected server and only after Userify support
confirms that it is the right diagnostic for your issue. Use an account that
can run `sudo`.

The current script enables shim debug logging, backs up the configuration
file, and collects local system, account, SSH, and shim data. It does not turn
debug logging off when it finishes. Ask support how to restore the setting
before you run it. The script writes `debug.log.gz` to your current directory.
The archive can contain usernames, public keys, sudo rules, and system details.
Do not share passwords, private keys, recovery codes, or other credentials.

If support asks you to collect a report, download and inspect the script on
the affected server:

```bash
curl --fail --location --output debug_shim.sh https://deploy.userify.com/debug_shim.sh
less debug_shim.sh
bash debug_shim.sh
```

Review the archive contents before sharing them:

```bash
zcat debug.log.gz | less
```

Redact information that support does not need. Attach the reviewed report to an email to
[Userify support](mailto:support@userify.com).

## Continue reading
- Previous: [Shim Internals](https://userify.published.dev/docs/shim-internals.md)
- Next: [Channel Partner Program](https://userify.published.dev/docs/getting-started.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)