(2023/08)kdesu似乎出现了没办法使用sudo提权的问题?
发行版Arch Linux,稿件编写时间2023年8月5日。
相关包版本:
sudo 1.9.14.p3-1(Host更新软件包时间2023-07-26)
kdesu 5.108.0-1(2023-07-10)
polkit 123-1(2023-08-05)
polkit-kde-agent 5.27.7-1(2023-08-02)
系统通过passwd -l root禁用了root账户,此前通过vim ~/.config/kdesurc添加
```
[super-user-command]
super-user-command=sudo
```
来让kdesu使用sudo提权而不是su(因为禁用了root没办法su)
最近在桌面环境打开比如grub-customizer的时候发现kdesu又使用su而不是sudo。我删除了相关配置文件试着用Arch Linux Wiki上Sudo页面中kdesu一项里提供的命令`kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo`,也还是没办法让kdesu调用sudo。看了看kdesu的项目仓库也没发现有人报issues。就...好奇怪?到底是哪里或者是哪个包更新的问题?
