Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Chinese (Simplified) guidelines.
108117 of 3717 results
108.
Ubuntu comes with the <application>AppArmor</application> security module, which provides mandatory access controls. The default AppArmor profile for Samba will need to be adapted to your configuration. For more details on using AppArmor see <xref linkend="apparmor"/>.
Ubuntu 带有 <application>AppArmor</application> 安全模块,提供必须的访问控制功能。为符合您的配置,需要对默认的 Samba AppArmor 策略做些修改。详情使用 AppArmor,请参考 <xref linkend="apparmor"/>。
Translated and reviewed by Tao Wei
Located in serverguide/C/windows-networking.xml:643(para)
109.
There are default AppArmor profiles for <filename>/usr/sbin/smbd</filename> and <filename>/usr/sbin/nmbd</filename>, the Samba daemon binaries, as part of the <application>apparmor-profiles</application> packages. To install the package, from a terminal prompt enter:
<filename>/usr/sbin/smbd</filename> 和 <filename>/usr/sbin/nmbd</filename> 是 Samba 守护进程的两个程序,它们默认的 AppArmor 策略,包含在 <application>apparmor-profiles</application> 软件包,要安装这个包,在终端命令行中输入:
Translated and reviewed by Tao Wei
Located in serverguide/C/windows-networking.xml:649(para)
110.
sudo apt-get install apparmor-profiles
sudo apt-get install apparmor-profiles
Translated and reviewed by Tao Wei
Located in serverguide/C/windows-networking.xml:656(command) serverguide/C/security.xml:925(command)
111.
This package contains profiles for several other binaries.
这个软件包还带有其它一些程序的策略。
Translated and reviewed by Tao Wei
Located in serverguide/C/windows-networking.xml:660(para)
112.
By default the profiles for <application>smbd</application> and <application>nmbd</application> are in <emphasis>complain</emphasis> mode allowing Samba to work without modifying the profile, and only logging errors. To place the <application>smbd</application> profile into <emphasis>enforce</emphasis> mode, and have Samba work as expected, the profile will need to be modified to reflect any directories that are shared.
默认情况下,<application>smbd</application> 和 <application>nmbd</application> 工作在 <emphasis>complain</emphasis> 的策略模式,即无需修改默认的策略,Samba 就能工作,但在这种模式下,仅仅会记录错误到日志。 要让 <application>smbd</application> 切换到 <emphasis>enforce</emphasis> 的策略模式,以使得 Samba 如期望地工作,则默认的策略需要进行修改,以反映到每一个共享的目录。
Translated and reviewed by Tao Wei
Located in serverguide/C/windows-networking.xml:665(para)
113.
Edit <filename>/etc/apparmor.d/usr.sbin.smbd</filename> adding information for <emphasis>[share]</emphasis> from the file server example:
例如,在文件服务器上添加 <emphasis>[share]</emphasis> 的标识信息,编辑 <filename>/etc/apparmor.d/usr.sbin.smbd</filename>:
Translated and reviewed by Tao Wei
Located in serverguide/C/windows-networking.xml:672(para)
114.

/srv/samba/share/ r,
/srv/samba/share/** rwkix,
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.

/srv/samba/share/ r,
/srv/samba/share/** rwkix,
Translated and reviewed by Hugh SH
Located in serverguide/C/windows-networking.xml:677(programlisting)
115.
Now place the profile into <emphasis>enforce</emphasis> and reload it:
切换到 <emphasis>enforce</emphasis> 的策略模式,并重新加载:
Translated and reviewed by Tao Wei
Located in serverguide/C/windows-networking.xml:682(para)
116.
sudo aa-enforce /usr/sbin/smbd
sudo aa-enforce /usr/sbin/smbd
Translated and reviewed by Devin
Located in serverguide/C/windows-networking.xml:687(command)
117.
cat /etc/apparmor.d/usr.sbin.smbd | sudo apparmor_parser -r
cat /etc/apparmor.d/usr.sbin.smbd | sudo apparmor_parser -r
Translated and reviewed by Hugh SH
Located in serverguide/C/windows-networking.xml:688(command)
108117 of 3717 results

This translation is managed by Ubuntu Simplified Chinese Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: 4b3tt0r, Adavak, Alex Xu, Aron Xu, Azrael Green, Bill Lee, Chen Ming, Congping Hao, Constine, Devin, EAdam, ESN, Felix, Feng Chao, Hugh SH, Ihnus Qcshz, John Lu, Johnson Zhu, Jun CHEN, Justin Yang, Li Linxiao, Luo Jiawei, Magicnight, Proton, Quantum, Rkyo, Shining, Tao Wei, USSR, Wylmer Wang, XUE Can, Yiding He, albertxiaoyu, bailiang, ggarlic, jinxin16897123, jpartley, king_li, lainme, linuxwj, luckyone, mahongquan, markgoo, maxim(Feng Liu), panlianyun, sdxianchao, snowwhite, stone_unix, wangajing, wsw, xiajiebuhui, yuane, yugq, zhangmiao, zhongxin, 姚渺波, 龚韬.