mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
parent
ec9a977fbb
commit
ba27600bec
|
@ -82,8 +82,7 @@ Führe diese Befehle aus:
|
|||
|
||||
In Systemen mit logind musst du `sway` einige Capabilities geben:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
In Systemen ohne logind musst du `sway` das suid-Flag geben:
|
||||
|
||||
|
|
|
@ -75,8 +75,7 @@ _\*\*Απαιτείται μόνο για swaylock_
|
|||
|
||||
Σε συστήματα με logind, χρειάζεται να ορίσετε μερικά δικαιώματα caps στο εκτελέσιμο αρχείο:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
Σε συστήματα χωρίς logind, χρειάζεται να θέσετε το suid bit στο εκτελέσιμο αρχείο:
|
||||
|
||||
|
|
|
@ -77,8 +77,7 @@ Exécutez ces commandes :
|
|||
|
||||
Sur les systèmes avec logind, vous devez définir quelques caps sur le binaire :
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
Sur les systèmes sans logind, vous devez suid le binaire de sway :
|
||||
|
||||
|
|
|
@ -78,8 +78,7 @@ Esegui questi comandi:
|
|||
|
||||
Per i sistemi con logind, devi impostare un paio di caps sull'eseguibile:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
Per i sistemi senza logind, devi cambiare i permessi (suid):
|
||||
|
||||
|
|
|
@ -68,8 +68,7 @@ Swayは多いディストリビューションにある。
|
|||
|
||||
logindはあるば:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
logindはあるないば:
|
||||
|
||||
|
|
|
@ -76,8 +76,7 @@ Run these commands:
|
|||
|
||||
On systems with logind, you need to set a few caps on the binary:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
On systems without logind, you need to suid the sway binary:
|
||||
|
||||
|
|
|
@ -84,8 +84,7 @@ Para compilar, execute estes comandos:
|
|||
|
||||
Em sistemas com logind, configure as seguintes capacidades para o arquivo binário:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
Em sistemas sem logind, ative a *flag* de *suid* do arquivo binário:
|
||||
|
||||
|
|
|
@ -77,8 +77,7 @@ _\*\*Требуется только для swaylock_
|
|||
|
||||
Если у вас logind:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
Иначе:
|
||||
|
||||
|
|
|
@ -85,8 +85,7 @@ _\*\*Лише для swaylock_
|
|||
На системах **з** logind, варто встановити декілька можливостей (caps)
|
||||
на виконуваний файл sway:
|
||||
|
||||
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
|
||||
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
|
||||
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
|
||||
|
||||
На системах **без** logind, необхідно встановити біт SUID на виконуваний файл sway:
|
||||
|
||||
|
|
Loading…
Reference in a new issue