123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- msgid ""
- msgstr ""
- "Project-Id-Version: PACKAGE VERSION\n"
- "POT-Creation-Date: 2020-06-20 15:33+0800\n"
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
- "Language-Team: LANGUAGE <LL@li.org>\n"
- "Language: zh_CN\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"
- #. type: Content of: <sect1><title>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:11
- msgid "Changing Ownership"
- msgstr "改变所有者"
- #. type: Content of: <sect1><note><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:14
- msgid ""
- "The commands in the remainder of this book must be performed while logged in "
- "as user <systemitem class=\"username\">root</systemitem> and no longer as "
- "user <systemitem class=\"username\">lfs</systemitem>. Also, double check "
- "that <envar>$LFS</envar> is set in <systemitem class=\"username\">root</"
- "systemitem>'s environment."
- msgstr ""
- "本书中后续的所有命令都应该在以 <systemitem class=\"username\">root</"
- "systemitem> 用户登录的情况下完成,而不是 <systemitem class=\"username\">lfs</"
- "systemitem> 用户。另外,请再次检查 <envar>$LFS</envar> 变量已经在 "
- "<systemitem class=\"username\">root</systemitem> 用户的环境中设定好。"
- #. type: Content of: <sect1><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:21
- msgid ""
- "Currently, the whole directory hierarchy in <filename class=\"directory\">"
- "$LFS</filename> is owned by the user <systemitem class=\"username\">lfs</"
- "systemitem>, a user that exists only on the host system. If the directories "
- "and files under <filename class=\"directory\">$LFS</filename> are kept as "
- "they are, they will be owned by a user ID without a corresponding account. "
- "This is dangerous because a user account created later could get this same "
- "user ID and would own all the files under <filename class=\"directory\">"
- "$LFS</filename>, thus exposing these files to possible malicious "
- "manipulation."
- msgstr ""
- "目前,<filename class=\"directory\">$LFS</filename> 中整个目录树的所有者都是 "
- "<systemitem class=\"username\">lfs</systemitem>,这个用户只在宿主系统存在。如"
- "果不改变 <filename class=\"directory\">$LFS</filename> 中文件和目录的所有权,"
- "它们会被一个没有对应账户的用户 ID 所有。这是危险的,因为后续创建的新用户可能获"
- "得这个用户 ID,并成为 <filename class=\"directory\">$LFS</filename> 中全部文"
- "件的所有者,从而产生恶意操作这些文件的可能。"
- #. type: Content of: <sect1><para>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:31
- msgid ""
- "To address this issue, change the ownership of the <filename class="
- "\"directory\">$LFS/*</filename> directories to user <systemitem class="
- "\"username\">root</systemitem> by running the following command:"
- msgstr ""
- "为了避免这样的问题,执行以下命令,将 <filename class=\"directory\">$LFS/*</"
- "filename> 目录的所有者改变为 <systemitem class=\"username\">root</"
- "systemitem>:"
- #. type: Content of: <sect1><screen>
- #: /home/xry111/svn-repos/LFS-BOOK/chapter07/changingowner.xml:36
- #, no-wrap
- msgid ""
- "<userinput>chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}\n"
- "case $(uname -m) in\n"
- " x86_64) chown -R root:root $LFS/lib64 ;;\n"
- "esac</userinput>"
- msgstr ""
- "<userinput>chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}\n"
- "case $(uname -m) in\n"
- " x86_64) chown -R root:root $LFS/lib64 ;;\n"
- "esac</userinput>"
|