diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-09-12 04:27:04 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2023-09-13 10:21:59 +0200 |
commit | 68caa8deba08d2a24d73760d9f7808a94e3fe693 (patch) | |
tree | 90625864efdc5cc33f552deb8e4df116d12f70c4 /README.zh-CN.md | |
parent | 8edc48f6dd8f401ac36ee529facc6c6859d9b8d3 (diff) |
readme: Stop recommending setuid bit for non-logind systems
- Optional since Sway 1.6 per swaywm/wlroots@bad1e9afa8ea
- Deprecated in Sway 1.7 per 67d3d952b6cd
- Removed in Sway 1.8 per e5728052b59f
- Ignored in future versions (keeps root priveleges)
Diffstat (limited to 'README.zh-CN.md')
-rw-r--r-- | README.zh-CN.md | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/README.zh-CN.md b/README.zh-CN.md index b057bfb8..a6f4518a 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -39,12 +39,6 @@ _\*编译时依赖_ ninja -C build/ sudo ninja -C build/ install -在没有logind或seatd的系统上, 你需要给sway二进制文件设置suid: - - sudo chmod a+s /usr/local/bin/sway - -启动后,Sway会尽快放弃root权限。 - ## 配置 如果你已经在使用i3,直接复制i3配置文件到 `~/.config/sway/config`,这是开箱即用的。或者,你可以复制配置样例到`~/.config/sway/config`。它通常位于 `/etc/sway/config`。 |