Files
Nexus/docs/changelog/2026-06-12-psutil-install-sudo-fix.md
T
Nexus Agent 8092000880
Nexus CI/CD / test (push) Waiting to run
Nexus CI/CD / e2e (push) Blocked by required conditions
Nexus CI/CD / deploy (push) Blocked by required conditions
Nexus Pre-commit Checks / quick-check (push) Waiting to run
fix(watch): psutil SSH 安装 apt 走 sudo
非 root 用户 apt-get 未加 sudo 导致 Permission denied;补充 run_root 与中文错误提示。
2026-06-12 04:09:10 +08:00

505 B
Raw Blame History

Changelog — psutil SSH 安装 apt sudo 修复

日期2026-06-12

摘要

修复非 root SSH 用户点击「安装 psutilSSH)」时 apt-get 无 sudo 导致 Permission denied。

变更

  • psutil_install 脚本增加 run_root()apt/dnf/yum 与系统 pip 在非 root 时走 sudo
  • sudo_wrap sudoers 补充 python3 / pip3 路径
  • 安装失败时返回中文提示(apt lock / 需免密 sudo

验证

.venv/bin/pytest tests/test_psutil_install.py -q