From ba27600bec258d80e60a3ff6cd62834da7523b01 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 14 Sep 2017 06:36:30 -0400 Subject: [PATCH] Update setcap commands in README Ref #1346 --- README.de.md | 3 +-- README.el.md | 3 +-- README.fr.md | 3 +-- README.it.md | 3 +-- README.ja.md | 3 +-- README.md | 3 +-- README.pt.md | 3 +-- README.ru.md | 3 +-- README.uk.md | 3 +-- 9 files changed, 9 insertions(+), 18 deletions(-) diff --git a/README.de.md b/README.de.md index cbee2056..60d2974a 100644 --- a/README.de.md +++ b/README.de.md @@ -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: diff --git a/README.el.md b/README.el.md index 7fae0c8e..535a3b2c 100644 --- a/README.el.md +++ b/README.el.md @@ -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 στο εκτελέσιμο αρχείο: diff --git a/README.fr.md b/README.fr.md index 058b7ead..da324169 100644 --- a/README.fr.md +++ b/README.fr.md @@ -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 : diff --git a/README.it.md b/README.it.md index 0ffb2984..4f3817de 100644 --- a/README.it.md +++ b/README.it.md @@ -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): diff --git a/README.ja.md b/README.ja.md index 23b91d30..4ce9116b 100644 --- a/README.ja.md +++ b/README.ja.md @@ -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はあるないば: diff --git a/README.md b/README.md index 6ce328ce..b84673a6 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/README.pt.md b/README.pt.md index 106218e3..948d82e7 100644 --- a/README.pt.md +++ b/README.pt.md @@ -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: diff --git a/README.ru.md b/README.ru.md index 07f14f16..245fcd3b 100644 --- a/README.ru.md +++ b/README.ru.md @@ -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 Иначе: diff --git a/README.uk.md b/README.uk.md index 2c1d3e54..a3b8f07b 100644 --- a/README.uk.md +++ b/README.uk.md @@ -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: