Translations by ZhongHan Cai

ZhongHan Cai has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

150 of 767 results
~
<emphasis>read only:</emphasis> gives write access to the shared directory.
2009-01-28
<emphasis>read only:</emphasis> gives write access to the shared directory.
~
sudo vmbuilder kvm ubuntu --suite jaunty --flavour virtual --arch i386 -o --libvirt qemu:///system --ip 192.168.0.100
2009-01-27
~
domain logons = yes logon path = \\%N\%U\profile logon drive = H: logon home = \\%N\%U logon script = logon.cmd add machine script = sudo /usr/sbin/useradd -n -g machines -c Machine -d /var/lib/samba -s /bin/false %u
2009-01-27
~
Another convenient tool that we want to have on our appliance is OpenSSH, as it will provide our admins to access to access the appliance remotely. However, pushing in the wild an appliance with a pre-installed OpenSSH server is a big security risk as all these server will share the same secret key, making it very easy for hackers to target our appliance with all the tools they need to crack it open in a breeze. As for the user password, we will instead rely on a script that will install OpenSSH the first time a user logs in so that the key generated will be different for each appliance. For this we'll use a <emphasis>--firstboot</emphasis> script, as it does not need any user interaction.
2009-01-27
~
There are several ways to automate the Ubuntu installation process, for example using preseeds, kickstart, etc. Refer to the <ulink url="https://help.ubuntu.com/9.04/installation-guide/">Ubuntu Installation Guide</ulink> for details.
2009-01-27
~
sudo vmbuilder kvm ubuntu --suite jaunty --flavour virtual --arch i386 -o --libvirt qemu:///system
2009-01-27
~
This chapter provides an overview of security related topics as they pertain to Ubuntu 9.04 Server Edition, and outlines simple measures you may use to protect your server and network from any number of potential security threats.
2009-01-27
~
Here is what the command with all the options discussed above:
2009-01-27
~
You should now be able to read, write, and execute files in the shared directory as normal, and the <application>smbd</application> binary will have access to only the configured files and direcotories. Be sure to add entries for each directory you configure Samba to share. Also, any errors will be logged to <filename>/var/log/syslog</filename>.
2009-01-27
~
This will copy the the <filename>/etc/hosts</filename> to <filename>//fs01.example.com/share/hosts</filename>.
2009-01-27
~
<emphasis>read only:</emphasis> gives write access to the shared directory.
2009-01-27
~
&lt;Location /svn&gt; DAV svn SVNParentPath /home/svn AuthType Basic AuthName "Your repository name" AuthUserFile /etc/subversion/passwd &lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt; Require valid-user &lt;/LimitExcept&gt; &lt;/Location&gt;
2009-01-27
~
deb http://archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse /deb-i386 http://archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse /deb-i386 http://archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse /deb-i386 http://archive.ubuntu.com/ubuntu jaunty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse /deb-i386 http://security.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu jaunty main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer /deb-i386 http://archive.ubuntu.com/ubuntu jaunty main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
2009-01-27
~
As this example is based on <application>KVM</application> and Ubuntu 9.04 (Jaunty Jackalope), and we are likely to rebuild the same virtual machine multiple time, we'll invoke vmbuilder with the following first parameters:
2009-01-27
~
sudo vmbuilder kvm ubuntu --suite jaunty --flavour virtual --arch i386 \ -o --libvirt qemu:///system --ip 192.168.0.100 --part vmbuilder.partition
2009-01-27
11.
Fortunately, your Ubuntu system may provide all such facilities to Windows clients and share network resources among them. One of the principal pieces of software your Ubuntu system includes for Windows networking is the Samba suite of SMB server applications and tools.
2008-10-11
Fortunately, your Ubuntu system may provide all such facilities to Windows clients and share network resources among them. One of the principal pieces of software your Ubuntu system includes for Windows networking is the Samba suite of SMB server applications and tools.
12.
This section of the <phrase>Ubuntu</phrase> Server Guide will introduce some of the common Samba use cases, and how to install and configure the necessary packages. Additional detailed documentation and information on Samba can be found on the <ulink url="http://www.samba.org">Samba website</ulink>.
2008-10-11
This section of the <phrase>Ubuntu</phrase> Server Guide will introduce some of the common Samba use cases, and how to install and configure the necessary packages. Additional detailed documentation and information on Samba can be found on the <ulink url="http://www.samba.org">Samba website</ulink>.
13.
Samba File Server
2008-10-11
Samba File Server
14.
One of the most common ways to network Ubuntu and Windows computers is to configure Samba as a File Server. This section covers setting up a <application>Samba</application> server to share files with Windows clients.
2008-10-11
One of the most common ways to network Ubuntu and Windows computers is to configure Samba as a File Server. This section covers setting up a <application>Samba</application> server to share files with Windows clients.
15.
The server will be configured to share files with any client on the network without prompting for a password. If your environment requires stricter Access Controls see <xref linkend="samba-fileprint-security"/>
2008-10-11
The server will be configured to share files with any client on the network without prompting for a password. If your environment requires stricter Access Controls see <xref linkend="samba-fileprint-security"/>
17.
The first step is to install the <application>samba</application> package. From a terminal prompt enter:
2008-10-11
The first step is to install the <application>samba</application> package. From a terminal prompt enter:
18.
sudo apt-get install samba
2008-10-11
sudo apt-get install samba
19.
That's all there is to it; you are now ready to configure Samba to share files.
2008-10-11
That's all there is to it; you are now ready to configure Samba to share files.
21.
The main Samba configuration file is located in <filename>/etc/samba/smb.conf</filename>. The default configuration file has a significant amount of comments in order to document various configuration directives.
2008-10-11
The main Samba configuration file is located in <filename>/etc/samba/smb.conf</filename>. The default configuration file has a significant amount of comments in order to document various configuration directives.
22.
Not all the available options are included in the default configuration file. See the <filename>smb.conf</filename><application>man</application> page or the <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/">Samba HOWTO Collection</ulink> for more details.
2008-10-11
Not all the available options are included in the default configuration file. See the <filename>smb.conf</filename><application>man</application> page or the <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/">Samba HOWTO Collection</ulink> for more details.
23.
First, edit the following key/value pairs in the <emphasis>[global]</emphasis> section of <filename>/etc/samba/smb.conf</filename>:
2008-10-11
First, edit the following key/value pairs in the <emphasis>[global]</emphasis> section of <filename>/etc/samba/smb.conf</filename>:
24.
workgroup = EXAMPLE ... security = user
2008-10-11
workgroup = EXAMPLE ... security = user
25.
The <emphasis>security</emphasis> parameter is farther down in the [global] section, and is commented by default. Also, change <emphasis>EXAMPLE</emphasis> to better match your environment.
2008-10-11
The <emphasis>security</emphasis> parameter is farther down in the [global] section, and is commented by default. Also, change <emphasis>EXAMPLE</emphasis> to better match your environment.
26.
Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
2008-10-11
Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
27.
[share] comment = Ubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = yes read only = no create mask = 0755
2008-10-11
[share] comment = Ubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = yes read only = no create mask = 0755
28.
<emphasis>comment:</emphasis> a short description of the share. Adjust to fit your needs.
2008-10-11
<emphasis>comment:</emphasis> a short description of the share. Adjust to fit your needs.
29.
<emphasis>path:</emphasis> the path to the directory to share.
2008-10-11
<emphasis>path:</emphasis> the path to the directory to share.
30.
This example uses <filename>/srv/samba/sharename</filename> because, according to the <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis>, <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> is where site-specific data should be served. Technically Samba shares can be placed anywhere on the filesystem as long as the permissions are correct, but adhering to standards is recommended.
2009-01-28
This example uses <filename>/srv/samba/sharename</filename> because, according to the <emphasis>File system Hierarchy Standard (FHS)</emphasis>, <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> is where site-specific data should be served. Technically Samba shares can be placed anywhere on the file system as long as the permissions are correct, but adhering to standards is recommended.
2009-01-27
31.
<emphasis>browsable:</emphasis> enables Windows clients to browse the shared directory using <application>Windows Explorer</application>.
2008-10-11
<emphasis>browsable:</emphasis> enables Windows clients to browse the shared directory using <application>Windows Explorer</application>.
32.
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
2008-10-11
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
34.
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
2008-10-11
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
35.
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
2008-10-11
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
36.
sudo mkdir -p /srv/samba/share
2008-10-11
sudo mkdir -p /srv/samba/share
37.
sudo chown nobody.nogroup /srv/samba/share/
2008-10-11
sudo chown nobody.nogroup /srv/samba/share/
38.
The <emphasis>-p</emphasis> switch tells mkdir to create the entire directory tree if it doesn't exist. Change the share name to fit your environment.
2008-10-11
The <emphasis>-p</emphasis> switch tells mkdir to create the entire directory tree if it doesn't exist. Change the share name to fit your environment.
39.
Finally, restart the <application>samba</application> services to enable the new configuration:
2008-10-11
Finally, restart the <application>samba</application> services to enable the new configuration:
41.
Once again, the above configuration gives all access to any client on the local network. For a more secure configuration see <xref linkend="samba-fileprint-security"/>.
2008-10-11
Once again, the above configuration gives all access to any client on the local network. For a more secure configuration see <xref linkend="samba-fileprint-security"/>.
42.
From a Windows client you should now be able to browse to the Ubuntu file server and see the shared directory. To check that everything is working try creating a directory from Windows.
2008-10-11
From a Windows client you should now be able to browse to the Ubuntu file server and see the shared directory. To check that everything is working try creating a directory from Windows.
43.
To create additional shares simply create new <emphasis>[dir]</emphasis> sections in <filename>/etc/samba/smb.conf</filename>, and restart <emphasis>Samba</emphasis>. Just make sure that the directory you want to share actually exists and the permissions are correct.
2008-10-11
To create additional shares simply create new <emphasis>[dir]</emphasis> sections in <filename>/etc/samba/smb.conf</filename>, and restart <emphasis>Samba</emphasis>. Just make sure that the directory you want to share actually exists and the permissions are correct.
45.
For in depth Samba configurations see the <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/">Samba HOWTO Collection</ulink>
2008-10-11
For in depth Samba configurations see the <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/">Samba HOWTO Collection</ulink>
46.
The guide is also available in <ulink url="http://www.amazon.com/exec/obidos/tg/detail/-/0131882228">printed format</ulink>.
2008-10-11
The guide is also available in <ulink url="http://www.amazon.com/exec/obidos/tg/detail/-/0131882228">printed format</ulink>.
47.
O'Reilly's <ulink url="http://www.oreilly.com/catalog/9780596007690/">Using Samba</ulink> is another good reference.
2008-10-11
O'Reilly's <ulink url="http://www.oreilly.com/catalog/9780596007690/">Using Samba</ulink> is another good reference.
48.
Samba Print Server
2008-10-11
Samba Print Server
49.
Another common use of Samba is to configure it to share printers installed, either locally or over the network, on an Ubuntu server. Similar to <xref linkend="samba-fileserver"/> this section will configure Samba to allow any client on the local network to use the installed printers without prompting for a username and password.
2009-01-28
Another common use of Samba is to configure it to share printers installed, either locally or over the network, on an Ubuntu server. Similar to <xref linkend="samba-fileserver"/> this section will configure Samba to allow any client on the local network to use the installed printers without prompting for a user name and password.