]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
man: Don't suggest making groupmems user-writeable 201/head
authorMichael Weiser <michael.weiser@gmx.de>
Tue, 17 Dec 2019 20:13:07 +0000 (21:13 +0100)
committerMichael Weiser <michael.weiser@gmx.de>
Tue, 17 Dec 2019 20:27:46 +0000 (21:27 +0100)
Suggesting mode 2770 is dangerous because it makes the binary writeable
by all members of the owning group which is supposed to be normal
end-users. Suggest 2710 instead as is usual for s[ug]id binaries,
allowing execution but neither reading nor writing.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
12 files changed:
man/cs/man8/groupmems.8
man/groupmems.8.xml
man/po/da.po
man/po/de.po
man/po/fr.po
man/po/it.po
man/po/pl.po
man/po/ru.po
man/po/shadow-man-pages.pot
man/po/sv.po
man/po/zh_CN.po
po/fr.po

index 729fce4b983a30f7da0fb19138c9990b7f0b921f..daaae62dd38ee6a26dfb641a4d5cc047ff8bb021 100644 (file)
@@ -46,7 +46,7 @@ Vypíše seznam členů skupiny.
 Příkaz
 \fBgroupmems\fR
 by měl mít nastavena práva
-2770
+2710
 a měl by jej vlastnit uživatel
 \fIroot\fR
 a skupina
@@ -58,7 +58,7 @@ spravovat členství ve skupinách.
 .sp
 .nf
        $ groupadd \-r groups
-       $ chmod 2770 groupmems
+       $ chmod 2710 groupmems
        $ chown root.groups groupmems
        $ groupmems \-g groups \-a gk4
 
index 1432ea42676a170ac93b42d8049ca5cca137e71a..6077d55483856d8bd7ce4981b78901f327c8d861 100644 (file)
     <title>SETUP</title>
     <para>
       The <command>groupmems</command> executable should be in mode
-      <literal>2770</literal> as user <emphasis>root</emphasis> and in group
+      <literal>2710</literal> as user <emphasis>root</emphasis> and in group
       <emphasis>groups</emphasis>. The system administrator can add users to
       group <emphasis>groups</emphasis> to allow or disallow them using the
       <command>groupmems</command> utility to manage their own group
 
     <programlisting>
        $ groupadd -r groups
-       $ chmod 2770 groupmems
+       $ chmod 2710 groupmems
        $ chown root.groups groupmems
        $ groupmems -g groups -a gk4
     </programlisting>
index 3d789fcb6e5097affe5d9f400bc6c0d9ca6398e0..ebc8fa466590809dbbe1b7713f8b1e1cafc59573 100644 (file)
@@ -6980,7 +6980,7 @@ msgstr ""
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
@@ -6992,7 +6992,7 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
index 3ae1efd0a5f91adfbc390af84abdd3ab55df8980..85ecadfed6ab789172736eb82e9b18e41e9021b0 100644 (file)
@@ -8878,14 +8878,14 @@ msgstr "EINRICHTUNG"
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
 "utility to manage their own group membership list."
 msgstr ""
 "Die ausführbare Datei <command>groupmems</command> sollte die Rechte "
-"<literal>2770</literal> haben und dem Benutzer <emphasis>root</emphasis> und "
+"<literal>2710</literal> haben und dem Benutzer <emphasis>root</emphasis> und "
 "der Gruppe <emphasis>groups</emphasis> gehören. Der Systemadministrator kann "
 "Benutzer der Gruppe <emphasis>groups</emphasis> hinzufügen, um ihnen zu "
 "ermöglichen, mit <command>groupmems</command> die Mitgliederliste ihrer "
@@ -8896,14 +8896,14 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
 msgstr ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
index 1deb7eb2e2061d8cdef44497dad8a63702f3c8f1..87b09b5c1158fa46710de3e03ddde0da893991ae 100644 (file)
@@ -8701,14 +8701,14 @@ msgstr "CONFIGURATION"
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
 "utility to manage their own group membership list."
 msgstr ""
 "L'exécutable <command>groupmems</command> doit être installé en mode "
-"<literal>2770</literal> avec pour utilisateur <emphasis>root</emphasis> et "
+"<literal>2710</literal> avec pour utilisateur <emphasis>root</emphasis> et "
 "pour groupe <emphasis>groups</emphasis>. L'administrateur système peut "
 "ajouter des utilisateurs au groupe <emphasis>groups</emphasis> pour leur "
 "permettre ou leur interdire d'utiliser <command>groupmems</command> pour "
@@ -8719,14 +8719,14 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
 msgstr ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
index b9f275a68cc14b11bae9e4385eecc9a75350d0bc..3e150d0dc6e60df483fd98e63be7cd4521bebadd 100644 (file)
@@ -9254,14 +9254,14 @@ msgstr "CONFIGURAZIONE"
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
 "utility to manage their own group membership list."
 msgstr ""
 "L'eseguibile <command>groupmems</command> dovrebbe avere i permessi "
-"<literal>2770</literal> ed essere di proprietà di <emphasis>root</emphasis> "
+"<literal>2710</literal> ed essere di proprietà di <emphasis>root</emphasis> "
 "e del gruppo <emphasis>groups</emphasis>. L'amministratore di sistema può "
 "aggiungere utenti al gruppo <emphasis>groups</emphasis> per permettere loro "
 "di poter gestire l'elenco di membri del proprio gruppo tramite il comando "
@@ -9272,14 +9272,14 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
 msgstr ""
 "\n"
 "        $ groupadd -r groups\n"
-"        $ chmod 2770 groupmems\n"
+"        $ chmod 2710 groupmems\n"
 "        $ chown root.groups groupmems\n"
 "        $ groupmems -g groups -a gk4\n"
 "    "
index 8a125fbf0355d762a46ff933f0ddfa7838659068..f1248181d399713c94ce0acc2f98e5890321ea8b 100644 (file)
@@ -7558,7 +7558,7 @@ msgstr ""
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
@@ -7570,14 +7570,14 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
 msgstr ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
index f3978255315b4c483d8748b93aa1e8b0d826769d..7809d6707db2381284e7521f368e09fea61e9f3d 100644 (file)
@@ -9292,14 +9292,14 @@ msgstr "НАСТРОЙКА"
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
 "utility to manage their own group membership list."
 msgstr ""
 "Исполняемый файл программы <command>groupmems</command> должен иметь права "
-"<literal>2770</literal>, принадлежать пользователю <emphasis>root</emphasis> "
+"<literal>2710</literal>, принадлежать пользователю <emphasis>root</emphasis> "
 "и группе <emphasis>groups</emphasis>. Системный администратор может "
 "добавлять пользователей в группу <emphasis>groups</emphasis>, разрешая или "
 "запрещая им запускать программу <command>groupmems</command> для управления "
@@ -9311,14 +9311,14 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
 msgstr ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
index 507057fe79a2c114fa5bf2fbaff9601db299ec2e..2b2e4e3d3befe41fbb5a10cd8ed9b713578b3f99 100644 (file)
@@ -4233,12 +4233,12 @@ msgid "SETUP"
 msgstr ""
 
 #: groupmems.8.xml:181(para)
-msgid "The <command>groupmems</command> executable should be in mode <literal>2770</literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</emphasis>. The system administrator can add users to group <emphasis>groups</emphasis> to allow or disallow them using the <command>groupmems</command> utility to manage their own group membership list."
+msgid "The <command>groupmems</command> executable should be in mode <literal>2710</literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</emphasis>. The system administrator can add users to group <emphasis>groups</emphasis> to allow or disallow them using the <command>groupmems</command> utility to manage their own group membership list."
 msgstr ""
 
 #: groupmems.8.xml:190(programlisting)
 #, no-wrap
-msgid "\n\t$ groupadd -r groups\n\t$ chmod 2770 groupmems\n\t$ chown root.groups groupmems\n\t$ groupmems -g groups -a gk4\n    "
+msgid "\n\t$ groupadd -r groups\n\t$ chmod 2710 groupmems\n\t$ chown root.groups groupmems\n\t$ groupmems -g groups -a gk4\n    "
 msgstr ""
 
 #: groupmems.8.xml:222(para)
index 4059527d5c684318e703e19e527fb83900460682..785c1e201cfe5121b29b0ca8e01dbe34b663569f 100644 (file)
@@ -7780,7 +7780,7 @@ msgstr ""
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
@@ -7792,14 +7792,14 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
 msgstr ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
index 71288870efb0c6579878b425b02af2b145e4fc3c..942a2ff2029309e9a108749090fc84f881b71144 100644 (file)
@@ -7960,7 +7960,7 @@ msgstr ""
 
 #: groupmems.8.xml:181(para)
 msgid ""
-"The <command>groupmems</command> executable should be in mode <literal>2770</"
+"The <command>groupmems</command> executable should be in mode <literal>2710</"
 "literal> as user <emphasis>root</emphasis> and in group <emphasis>groups</"
 "emphasis>. The system administrator can add users to group <emphasis>groups</"
 "emphasis> to allow or disallow them using the <command>groupmems</command> "
@@ -7972,14 +7972,14 @@ msgstr ""
 msgid ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
 msgstr ""
 "\n"
 "\t$ groupadd -r groups\n"
-"\t$ chmod 2770 groupmems\n"
+"\t$ chmod 2710 groupmems\n"
 "\t$ chown root.groups groupmems\n"
 "\t$ groupmems -g groups -a gk4\n"
 "    "
index 41646752f732d7528bd4a94ac220a0482e402463..8bf6fe8430664042722eb1966e221c50f4c9cec4 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -9701,14 +9701,14 @@ msgstr ""
 
 #~ msgid ""
 #~ "The <command>groupmems</command> executable should be in mode "
-#~ "<literal>2770</literal> as user <emphasis>root</emphasis> and in group "
+#~ "<literal>2710</literal> as user <emphasis>root</emphasis> and in group "
 #~ "<emphasis>groups</emphasis>. The system administrator can add users to "
 #~ "group <emphasis>groups</emphasis> to allow or disallow them using the "
 #~ "<command>groupmems</command> utility to manage their own group membership "
 #~ "list."
 #~ msgstr ""
 #~ "L'exécutable <command>groupmems</command> doit être installé en mode "
-#~ "<literal>2770</literal> avec pour utilisateur <emphasis>root</emphasis> "
+#~ "<literal>2710</literal> avec pour utilisateur <emphasis>root</emphasis> "
 #~ "et pour groupe <emphasis>groups</emphasis>. L'administrateur système peut "
 #~ "ajouter des utilisateurs au groupe <emphasis>groups</emphasis> pour leur "
 #~ "permettre ou leur interdire d'utiliser <command>groupmems</command> pour "
@@ -9717,14 +9717,14 @@ msgstr ""
 #~ msgid ""
 #~ "\n"
 #~ "\t$ groupadd -r groups\n"
-#~ "\t$ chmod 2770 groupmems\n"
+#~ "\t$ chmod 2710 groupmems\n"
 #~ "\t$ chown root.groups groupmems\n"
 #~ "\t$ groupmems -g groups -a gk4\n"
 #~ "    "
 #~ msgstr ""
 #~ "\n"
 #~ "\t$ groupadd -r groups\n"
-#~ "\t$ chmod 2770 groupmems\n"
+#~ "\t$ chmod 2710 groupmems\n"
 #~ "\t$ chown root.groups groupmems\n"
 #~ "\t$ groupmems -g groups -a gk4\n"
 #~ "    "