<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/soju-user-delete-hash-h9stj6gxl" -->

---
title: Soju User Delete Hash | daily.dev
description: When deleting a Soju IRC bouncer user, the CLI requires a confirmation token. That token is simply the first 6 hex characters of the SHA-1 hash of the...
canonical: https://daily.dev/posts/soju-user-delete-hash-h9stj6gxl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Soju User Delete Hash | daily.dev
og:description: When deleting a Soju IRC bouncer user, the CLI requires a confirmation token. That token is simply the first 6 hex characters of the SHA-1 hash of the...
og:url: https://daily.dev/posts/soju-user-delete-hash-h9stj6gxl
og:image: https://api.daily.dev/og/posts/h9STj6gXl.png
og:image:alt: Soju User Delete Hash
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Soju User Delete Hash

**[Susam Pal](https://daily.dev/sources/susam-net)** · 2 min read · 0 upvotes · 0 comments

## Summary

When deleting a Soju IRC bouncer user, the CLI requires a confirmation token. That token is simply the first 6 hex characters of the SHA-1 hash of the username, computed as `printf <username> | sha1sum | head -c6`. Since it's deterministic and not stored in the database, you can automate the two-step deletion into a single command. A more robust alternative uses command substitution to capture the token from the first invocation and pass it back automatically, guarding against future implementation changes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://susam.net/soju-user-delete-hash.html>

## Similar posts on daily.dev

- [Major ICQ security hole \(1998\)](https://daily.dev/posts/major-icq-security-hole-1998--fra4ffu4w) · Hacker News · 0 upvotes · 0 comments
- [CLI Authentication, the Right Way](https://daily.dev/posts/cli-authentication-the-right-way-ybniyqoml) · Lobsters · 1 upvotes · 0 comments
- [Build scanner-safe double opt-in](https://daily.dev/posts/build-scanner-safe-double-opt-in-qgdlkj42f) · Flavio Copes · 0 upvotes · 0 comments
- [Honeytokens on the Developer Workstation: When Cleanup Takes Time](https://daily.dev/posts/honeytokens-on-the-developer-workstation-when-cleanup-takes-time-9uf0dgkgo) · GitGuardian · 0 upvotes · 0 comments

---

Tags: [#shell](https://daily.dev/tags/shell), [#sqlite](https://daily.dev/tags/sqlite)

[View this post on daily.dev](https://daily.dev/posts/soju-user-delete-hash-h9stj6gxl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Soju User Delete Hash","url":"https://daily.dev/posts/soju-user-delete-hash-h9stj6gxl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/soju-user-delete-hash-h9stj6gxl"},"datePublished":"2026-03-31T12:41:33.996Z","dateModified":"2026-03-31T12:54:37.339Z","description":"When deleting a Soju IRC bouncer user, the CLI requires a confirmation token. That token is simply the first 6 hex characters of the SHA-1 hash of the...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"Susam Pal","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Susam Pal","logo":"https://media.daily.dev/image/upload/s--tjfOSUqU--/f_auto,q_auto/v1774960851/logos/susam-net?_a=BAMAMiWQ0","url":"https://daily.dev/sources/susam-net"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/soju-user-delete-hash-h9stj6gxl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"shell,sqlite","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Susam Pal","item":"https://daily.dev/sources/susam-net"},{"@type":"ListItem","position":3,"name":"Soju User Delete Hash"}]}
```

