Akkuman 的博客

欢迎来到 Akkuman 的博客

  • 记录一些有关技术、生活的随想或随笔

safety classifier 解决方案

如果你最近通过网关(比如NewAPI)的兼容接口使用 claude-code 可能会遇到这个问题 1 The safety classifier is temporarily unavailable 核心原因是:Claude Code 的 Bash 安全分类器通常不是走你 /model 里选的主对话模型,而是一条单独的安全判定链路 ...

九月 24, 2026 · 1 分钟

Ubuntu 26.04 上 Ansible become 失败:sudo-rs 兼容问题及解决方案

背景 目标机器是 ubuntu 26.04,ansible 脚本使用了 become 来提权操作 但是总是报错 Timeout (12s) waiting for privilege escalation prompt 原因 ubuntu 新版换用了 sudo-rs 导致旧版 ansible 不兼容 可参见 Ubuntu 26.04 默认 sudo-rs 的 sudoers 配置变更 ...

九月 3, 2026 · 1 分钟

bitwarden ssh agent 使用

背景 最近 apifox 的安全事件,让我想用密码管理器管理 ssh 密钥了。 以前也考虑过一次,但由于 bitwarden 不支持,就作罢了。 现在发现 bitwarden 在 2025 年已经支持了 ssh 密钥。 使用 导入密钥 具体可参见 Bitwarden SSH Agent | Bitwarden ...

三月 27, 2026 · 5 分钟

headless-wps arm64 后续

有用过 [akkuman/headless-wps: run wps](https://linux.wps.cn/) in headless docker 的人可能知道这个一直没有 arm64 版本,此处记录下探索历程(相关内容均来自 是否有可能提供arm版本的镜像 · Issue #7 · akkuman/headless-wps) TLDR 4k 页大小内核的 arm64 linux,应该可以正常使用 64k 页大小内核的 arm64 linux,和 libcef(浏览器) 相关的功能存在严重的功能缺失 ...

三月 19, 2026 · 4 分钟

为什么我的 powershell 启动这么慢

背景 我的 windows terminal 每次启动 powershell 都很慢,并且会打印这样一行 1 Loading personal and system profiles took 1704ms. 排查 首先我们不加载任何内容,在 cmd 中执行 pwsh -NoProfile,powershell 立即启动,并且没有打印上面的日志 ...

三月 3, 2026 · 1 分钟