]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Add -u and -g args to Japanese lxc-attach(1) and lxc-execute(1) 2650/head
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Wed, 26 Sep 2018 16:17:04 +0000 (01:17 +0900)
committerKATOH Yasufumi <karma@jazz.email.ne.jp>
Wed, 26 Sep 2018 16:21:41 +0000 (01:21 +0900)
Update for commit ddd51fd and 0840104

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
doc/ja/lxc-attach.sgml.in
doc/ja/lxc-execute.sgml.in

index 8e001a45756e45350847c5ad7ad9f2ab41530976..fe2e40b23a50b3f14d5d94bcdb7c2c85a45d4449 100644 (file)
@@ -65,6 +65,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
       <arg choice="opt">--clear-env</arg>
       <arg choice="opt">-v, --set-var <replaceable>variable</replaceable></arg>
       <arg choice="opt">--keep-var <replaceable>variable</replaceable></arg>
+      <arg choice="opt">-u, --uid <replaceable>uid</replaceable></arg>
+      <arg choice="opt">-g, --gid <replaceable>gid</replaceable></arg>
       <arg choice="opt">-- <replaceable>command</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
@@ -111,7 +113,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     -->
       前のバージョンの <command>lxc-attach</command> は、単に指定したコンテナの名前空間にアタッチし、最初に擬似端末 (pseudo terminal) を割り当てないで、シェルもしくは指定したコマンドを実行しました。
       これは、異なる特権レベルを持つユーザ空間の実行コンテキストを切り替えた後に、TIOCSTI <command>ioctl</command> の呼び出し経由で擬似入力を行うことに対して脆弱となります。
-      æ\96°ã\81\97ã\81\84ã\83\90ã\83¼ã\82¸ã\83§ã\83³ã\81® <command>lxc-attach</command> ã\81¯ã\80\81ã\83\9bã\82¹ã\83\88ä¸\8aã\81®æ\93¬ä¼¼ç«¯æ\9c«ã\81®ã\83\9eã\82¹ã\82¿ã\83¼/ã\82¹ã\83¬ã\83¼ã\83\96ã\81®ã\83\9aã\82¢ã\82\92å\89²ã\82\8aå½\93ã\81¦ã\82\88ã\81\86ã\81¨ã\81\97ã\81¾ã\81\99ã\80\82ã\81\9dã\81\97ã\81¦ã\82·ã\82§ã\83«ã\82\84ã\82³ã\83\9eã\83³ã\83\89ã\82\92å®\9fè¡\8cã\81\99ã\82\8bå\89\8dã\81«ã\80\81æ\93¬ä¼¼ç«¯æ\9c«ã\81®ã\82¹ã\83¬ã\83¼ã\83\96側に対して、ターミナルを参照する標準ファイルディスクリプタをアタッチします。
+      æ\96°ã\81\97ã\81\84ã\83\90ã\83¼ã\82¸ã\83§ã\83³ã\81® <command>lxc-attach</command> ã\81¯ã\80\81ã\83\9bã\82¹ã\83\88ä¸\8aã\81®æ\93¬ä¼¼ç«¯æ\9c«ã\81®ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\81®ã\83\9aã\82¢ã\82\92å\89²ã\82\8aå½\93ã\81¦ã\82\88ã\81\86ã\81¨ã\81\97ã\81¾ã\81\99ã\80\82ã\81\9dã\81\97ã\81¦ã\82·ã\82§ã\83«ã\82\84ã\82³ã\83\9eã\83³ã\83\89ã\82\92å®\9fè¡\8cã\81\99ã\82\8bå\89\8dã\81«ã\80\81æ\93¬ä¼¼ç«¯æ\9c«ã\81®ã\82³ã\83³ã\83\86ã\83\8a側に対して、ターミナルを参照する標準ファイルディスクリプタをアタッチします。
       ターミナルを参照する標準ファイルディスクリプタがない場合は、<command>lxc-attach</command> は擬似端末の割り当てを行わないことに注意してください。代わりに、単にコンテナの名前空間にアタッチし、シェルや指定したコマンドを実行します。
     </para>
 
@@ -370,6 +372,36 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
        </listitem>
       </varlistentry>
 
+      <varlistentry>
+       <term>
+         <option>--u, --uid <replaceable>uid</replaceable></option>
+       </term>
+       <listitem>
+         <para>
+           <!--
+           Executes the <replaceable>command</replaceable> with user ID
+           <replaceable>uid</replaceable> inside the container.
+           -->
+           コンテナ内で、ユーザ ID <replaceable>uid</replaceable> で <replaceable>command</replaceable> を実行します。
+         </para>
+       </listitem>
+      </varlistentry>
+
+      <varlistentry>
+       <term>
+         <option>--g, --gid <replaceable>gid</replaceable></option>
+       </term>
+       <listitem>
+         <para>
+           <!--
+           Executes the <replaceable>command</replaceable> with group ID
+           <replaceable>gid</replaceable> inside the container.
+           -->
+           コンテナ内で、グループ ID <replaceable>gid</replaceable> で <replaceable>command</replaceable> を実行します。
+         </para>
+       </listitem>
+      </varlistentry>
+
     </variablelist>
 
   </refsect1>
index 93b78ce35459da8c4c6cd38b721a846f74221de7..3eb5772b01c90221936fdd8301267d0b2ea3394a 100644 (file)
@@ -59,6 +59,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
       <arg choice="opt">-d</arg>
       <arg choice="opt">-f <replaceable>config_file</replaceable></arg>
       <arg choice="opt">-s KEY=VAL</arg>
+      <arg choice="opt">-u, --uid <replaceable>uid</replaceable></arg>
+      <arg choice="opt">-g, --gid <replaceable>gid</replaceable></arg>
       <arg choice="opt">-- <replaceable>command</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
@@ -175,6 +177,36 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
        </listitem>
       </varlistentry>
 
+      <varlistentry>
+       <term>
+         <option>--u, --uid <replaceable>uid</replaceable></option>
+       </term>
+       <listitem>
+         <para>
+           <!--
+           Executes the <replaceable>command</replaceable> with user ID
+           <replaceable>uid</replaceable> inside the container.
+           -->
+           コンテナ内で、ユーザ ID <replaceable>uid</replaceable> で <replaceable>command</replaceable> を実行します。
+         </para>
+       </listitem>
+      </varlistentry>
+
+      <varlistentry>
+       <term>
+         <option>--g, --gid <replaceable>gid</replaceable></option>
+       </term>
+       <listitem>
+         <para>
+           <!--
+           Executes the <replaceable>command</replaceable> with group ID
+           <replaceable>gid</replaceable> inside the container.
+           -->
+           コンテナ内で、グループ ID <replaceable>gid</replaceable> で <replaceable>command</replaceable> を実行します。
+         </para>
+       </listitem>
+      </varlistentry>
+
       <varlistentry>
        <term><option>--</option></term>
        <listitem>