Changeset 20


Ignore:
Timestamp:
02/24/09 07:26:36 (5 years ago)
Author:
mdious
Message:
  • minor changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • community/trunk/Managing_Confined_Services/en-US/Apache_HTTP_Server.xml

    r19 r20  
    536536                        <title>Sharing files between services</title> 
    537537                        <para> 
    538                                 Type Enforcement helps prevent processes from accessing files intended for use by another process. For example, by default, Samba can not read files labeled with the <computeroutput>httpd_sys_content_t</computeroutput>, which are intended for use by the Apache HTTP Server. Files can be shared between the Apache HTTP Server, FTP, rsync, and Samba, if the desired files are labeled with the <computeroutput>public_content_t</computeroutput> or <computeroutput>public_content_rw_t</computeroutput> type. 
     538                                Type Enforcement helps prevent processes from accessing files intended for use by another process. For example, by default, Samba can not read files labeled with the <computeroutput>httpd_sys_content_t</computeroutput> type, which are intended for use by the Apache HTTP Server. Files can be shared between the Apache HTTP Server, FTP, rsync, and Samba, if the desired files are labeled with the <computeroutput>public_content_t</computeroutput> or <computeroutput>public_content_rw_t</computeroutput> type. 
    539539                        </para> 
    540540                        <para> 
     
    653653shares          Disk      Documents for Apache HTTP Server, FTP, rsync, and Samba 
    654654IPC$            IPC       IPC Service (Samba Server Version 3.3.0-0.25.fc11) 
    655 <replaceable>username</replaceable>          Disk      Home Directories 
     655<replaceable>username</replaceable>        Disk      Home Directories 
    656656Domain=[<replaceable>HOSTNAME</replaceable>] OS=[Unix] Server=[Samba 3.3.0-0.25.fc11] 
    657657 
     
    670670                                <listitem> 
    671671                                        <para> 
    672                                                 Run the following command as the root user to mount the <computeroutput>shares</computeroutput> Samba share to <filename>/test/</filename>: 
    673                                         </para> 
    674 <screen> 
    675 mount //localhost/shares /test/ -o user=guest 
     672                                                Run the following command as the root user to mount the <computeroutput>shares</computeroutput> Samba share to <filename>/test/</filename>, replacing <replaceable>username</replaceable> with the username from step 3: 
     673                                        </para> 
     674<screen> 
     675mount //localhost/shares /test/ -o user=<replaceable>username</replaceable> 
     676</screen> 
     677                                        <para> 
     678                                                Enter the password for <replaceable>username</replaceable>, which was configured in step 3. 
     679                                        </para> 
     680                                </listitem> 
     681                                <listitem> 
     682                                        <para> 
     683                                                Run <command>cat /test/index.html</command> to view the file, which is being shared through Samba: 
     684                                        </para> 
     685<screen> 
     686$ cat /test/index.html  
     687&lt;html&gt; 
     688&lt;body&gt; 
     689&lt;p&gt;Hello&lt;/p&gt; 
     690&lt;/body&gt; 
     691&lt;/html&gt; 
    676692</screen> 
    677693                                </listitem> 
Note: See TracChangeset for help on using the changeset viewer.