1
0

etcshells.po 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><title>
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/etcshells.xml:17
  15. msgid "Creating the /etc/shells File"
  16. msgstr "创建 /etc/shells 文件"
  17. #. type: Content of: <sect1><indexterm><primary>
  18. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/etcshells.xml:20
  19. msgid "/etc/shells"
  20. msgstr "/etc/shells"
  21. #. type: Content of: <sect1><para>
  22. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/etcshells.xml:23
  23. msgid ""
  24. "The <filename>shells</filename> file contains a list of login shells on the "
  25. "system. Applications use this file to determine whether a shell is valid. "
  26. "For each shell a single line should be present, consisting of the shell's "
  27. "path relative to the root of the directory structure (/)."
  28. msgstr ""
  29. "<filename>shells</filename> 文件包含系统登录 shell 的列表,应用程序使用该文"
  30. "件判断 shell 是否合法。该文件中每行指定一个 shell,包含该 shell 相对于目录树"
  31. "根 (/) 的路径。"
  32. #. type: Content of: <sect1><para>
  33. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/etcshells.xml:29
  34. msgid ""
  35. "For example, this file is consulted by <command>chsh</command> to determine "
  36. "whether an unprivileged user may change the login shell for her own account. "
  37. "If the command name is not listed, the user will be denied the ability to "
  38. "change shells."
  39. msgstr ""
  40. "例如 <command>chsh</command> 使用该文件判断一个非特权用户是否可以修改自己的登"
  41. "录 shell。如果命令没有在 /etc/shell 中找到,就会拒绝修改操作。"
  42. #. type: Content of: <sect1><para>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/etcshells.xml:34
  44. msgid ""
  45. "It is a requirement for applications such as <application>GDM</application> "
  46. "which does not populate the face browser if it can't find <filename>/etc/"
  47. "shells</filename>, or FTP daemons which traditionally disallow access to "
  48. "users with shells not included in this file."
  49. msgstr ""
  50. "这个文件对某些程序是必要的。例如 <application>GDM</application> 在找不到 "
  51. "<filename>/etc/shells</filename> 时不会填充登录界面,FTP 守护进程通常禁止那"
  52. "些使用未在此文件列出的终端的用户登录。"
  53. #. type: Content of: <sect1><screen>
  54. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/etcshells.xml:40
  55. #, no-wrap
  56. msgid ""
  57. "<userinput>cat &gt; /etc/shells &lt;&lt; \"EOF\"\n"
  58. "<literal># Begin /etc/shells\n"
  59. "\n"
  60. "/bin/sh\n"
  61. "/bin/bash\n"
  62. "\n"
  63. "# End /etc/shells</literal>\n"
  64. "EOF</userinput>"
  65. msgstr ""
  66. "<userinput>cat &gt; /etc/shells &lt;&lt; \"EOF\"\n"
  67. "<literal># Begin /etc/shells\n"
  68. "\n"
  69. "/bin/sh\n"
  70. "/bin/bash\n"
  71. "\n"
  72. "# End /etc/shells</literal>\n"
  73. "EOF</userinput>"