Debian12安装KDE/Gnome后自动休眠

最近在深圳移动PON商宽部署一个NUC前置,结果发现安装了KDE的情况下20分钟就会离线,通过KVM发现机器休眠了。结论为要禁用自动休眠。在安装了桌面(Gnome 或 KDE)的工作站模式下使用 Debian 12 操作系统时,默认情况下,当没有用户活动时,操作系统会进入睡眠模式。解决办法有两种。方法1sudo systemctl mask sleep.target suspend.target

- 阅读全文 -

SSH RCE: CVE-2024-6387 (附升级OpenSSH9.8p1)

该漏洞是由于 OpenSSH 服务器 (sshd) 中的信号处理程序竞争问题,未经身份验证的攻击者可以利用此漏洞在 Linux 系统上以 root 身份执行任意代码。影响版本:8.5p1 <= OpenSSH < 9.8p1在我们的实验中,平均需要约 10,000 次尝试才能赢得这种竞争条件,因此每 120 秒 (LoginGraceTime) 接受 100 个连接 (MaxStart

- 阅读全文 -

Debian12 切换清华源

sudo nano /etc/apt/sources.list 然后修改为 # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware # deb-src https://m

- 阅读全文 -

flash boot images on Unisoc device

flash boot images on Unisoc device:Some Unisoc A/B devices don't recognize the active slot in bootloader mode. You will need to manually flash the active slot. For example, if fastboot getvar current-

- 阅读全文 -