[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bitte newgrp (1) hinnehmen



Hallo Liste,

hier die Zeichenketten zur Handbuchseite newgrp (1) aus dem
Shadow-Projekt. Teilweise sind sie unverständlich, auch das Testen
erbrachte keine völlige Klarheit. Im Gegenteil nutzt newgrp zum
Passwortvergleich den Inhalt von /etc/groups, obwohl die Autoren
schreiben, /etc/gshadow werde dazu verwendet.

Viele Grüße
Markus



#BEGINN Teil 18 setzt nnwusers.8 fort
#: newgrp.1.xml:58(refentrytitle) newgrp.1.xml:65(refname)
#: newgrp.1.xml:71(command)
msgid "newgrp"
msgstr "newgrp"

#: newgrp.1.xml:66(refpurpose)
msgid "log in to a new group"
msgstr "eine weitere Gruppenidentität annehmen"

#: newgrp.1.xml:72(replaceable) grpck.8.xml:74(replaceable)
#: groupadd.8.xml:78(replaceable) gpasswd.1.xml:88(replaceable)
msgid "group"
msgstr "Gruppe"

#MH120 Replaces the new group the group that was the primary group before?
#The output of the command groups shows the new group first within the list of memberships 
#MH122: change a GID and the fact that a user has a set of memberships in
# implies that this command allows a user to replace his own primary group with another one
# In this case, it should be mentioned explicitely:
# s/current group ID/current primary group ID
# Mit tester1 und
# der Gruppe users mit Passworteintrag in gshadow ließ sich das 
# hier nicht klären
#: newgrp.1.xml:78(para)
msgid ""
"The <command>newgrp</command> command is used to change the current group ID "
"during a login session. If the optional <option>-</option> flag is given, "
"the user's environment will be reinitialized as though the user had logged "
"in, otherwise the current environment, including current working directory, "
"remains unchanged."
msgstr ""
"Mit dem Befehl <command>newgrp</command> kann während einer Sitzung "
"die Gruppenkennung geändert werden. Wenn zusätzlich der "
"Schalter <option>-</option> angegeben wird, wird die Benutzerumgebung neu "
"gestartet, und zwar, als ob sich der Benutzer neu angemeldet hätte. "
"Anderenfalls bleibt die aktuelle Umgebung einschließlich des aktuellen "
"Arbeitsverzeichnisses unverändert."

#MH123 Why does the attribute "real" appears with group ID?
# According to SH 2022-02-19, real/effective GIDs and primary/supplementary groups are
# diffenent concepts
# The counterpart is effective group that might be entered. See and refer to sg, newgrp
# and id(1) from coreutils. id(1) from shadow-utils was apparenty ignored when creating
# the message catalogue  
#MH125 The third phrase just produces confusion, probably due to missing marks
# (comma, dot, semicolon, ...)
#: newgrp.1.xml:86(para)
msgid ""
"<command>newgrp</command> changes the current real group ID to the named "
"group, or to the default group listed in <filename>/etc/passwd</filename> if "
"no group name is given. <command>newgrp</command> also tries to add the "
"group to the user groupset. If not root, the user will be prompted for a "
"password if she does not have a password (in <filename>/etc/shadow</"
"filename> if this user has an entry in the shadowed password file, or in "
"<filename>/etc/passwd</filename> otherwise) and the group does, or if the "
"user is not listed as a member and the group has a password. The user will "
"be denied access if the group password is empty and the user is not listed "
"as a member."
msgstr ""
"<command>newgrp</command> wechselt von der momentanen tatsächlichen ("real") "
"Gruppenkennung zu der angegebenen Gruppe. Ohne Gruppennamen wird zu der "
"Gruppe gewechselt, die in <filename>/etc/passwd</filename> für den Benutzer "
"hinterlegt ist. Zudem versucht <command>newgrp</command>, die Gruppe den "
"Gruppenzugehörigkeiten des Benutzers hinzuzufügen. Der Befehl erwartet die "
"Eingabe eines Passworts, wenn der Benutzer nicht Systemadministrator ist. "
"[...]"
"Der Zugang wird dem Benutzer "
"verweigert, wenn die Gruppe kein Passwort hat und der Benutzer nicht als "
"Gruppenmitglied gelistet ist."

#MH126 False description. I found out that newgrp uses the password entry from /etc/group
# instead the one from /etc/gshadow 
# Herausgefunden ist, dass newgrp, wenn es
# Passwörter verlangt, korrekte Passworter nur dann annimmt, wenn sie im 2. Feld
# der Datei groups sind. Wenn sie in gshadow sind (was für geschützte Systeme normal wäre),
# werden sie abgelehnt.
#: newgrp.1.xml:100(para)
msgid ""
"If there is an entry for this group in <filename>/etc/gshadow</filename>, "
"then the list of members and the password of this group will be taken from "
"this file, otherwise, the entry in <filename>/etc/group</filename> is "
"considered."
msgstr ""
"Wenn die Gruppe in <filename>/etc/gshadow</filename> erscheint, erfolgt die "
"Prüfung anhand des Passwortes dort und anhand der Mitgliederliste. "
"Anderenfalls wird der Eintrag in <filename>/etc/group</filename> "
"ausgewertet."

#: newgrp.1.xml:152(para)
msgid ""
"<citerefentry><refentrytitle>id</refentrytitle><manvolnum>1</manvolnum></"
"citerefentry>, <citerefentry><refentrytitle>login</"
"refentrytitle><manvolnum>1</manvolnum></citerefentry>, "
"<citerefentry><refentrytitle>su</refentrytitle><manvolnum>1</manvolnum></"
"citerefentry>, <citerefentry><refentrytitle>sg</refentrytitle><manvolnum>1</"
"manvolnum></citerefentry>, <citerefentry><refentrytitle>gpasswd</"
"refentrytitle><manvolnum>1</manvolnum></citerefentry>, "
"<citerefentry><refentrytitle>group</refentrytitle><manvolnum>5</manvolnum></"
"citerefentry><phrase condition=\"gshadow\">, <citerefentry condition="
"\"gshadow\"><refentrytitle>gshadow</refentrytitle><manvolnum>5</manvolnum></"
"citerefentry></phrase>."
msgstr ""
"<citerefentry><refentrytitle>id</refentrytitle><manvolnum>1</manvolnum></"
"citerefentry>, <citerefentry><refentrytitle>login</"
"refentrytitle><manvolnum>1</manvolnum></citerefentry>, "
"<citerefentry><refentrytitle>su</refentrytitle><manvolnum>1</manvolnum></"
"citerefentry>, <citerefentry><refentrytitle>sg</refentrytitle><manvolnum>1</"
"manvolnum></citerefentry>, <citerefentry><refentrytitle>gpasswd</"
"refentrytitle><manvolnum>1</manvolnum></citerefentry>, "
"<citerefentry><refentrytitle>group</refentrytitle><manvolnum>5</manvolnum></"
"citerefentry><phrase condition=\"gshadow\">, <citerefentry condition="
"\"gshadow\"><refentrytitle>gshadow</refentrytitle><manvolnum>5</manvolnum></"
"citerefentry></phrase>."

#ENDE Teil 18 weiter mit logoutd.8

Reply to: