<i id='ibttt'></i>

<code id='ibttt'><strong id='ibttt'></strong></code>
  • <tr id='ibttt'><strong id='ibttt'></strong><small id='ibttt'></small><button id='ibttt'></button><li id='ibttt'><noscript id='ibttt'><big id='ibttt'></big><dt id='ibttt'></dt></noscript></li></tr><ol id='ibttt'><table id='ibttt'><blockquote id='ibttt'><tbody id='ibttt'></tbody></blockquote></table></ol><u id='ibttt'></u><kbd id='ibttt'><kbd id='ibttt'></kbd></kbd>
  • <acronym id='ibttt'><em id='ibttt'></em><td id='ibttt'><div id='ibttt'></div></td></acronym><address id='ibttt'><big id='ibttt'><big id='ibttt'></big><legend id='ibttt'></legend></big></address>

  • <ins id='ibttt'></ins>

    <fieldset id='ibttt'></fieldset>

  • <dl id='ibttt'></dl>

        <span id='ibttt'></span>
        <i id='ibttt'><div id='ibttt'><ins id='ibttt'></ins></div></i>
          1. RHEL5中不用关闭SELinux而成功启动Samba

            • 时间:
            • 浏览:9
            • 来源:124软件资讯网

              RHEL5中的samba服务器启动后  ,能看到共享目录  ,可是不能会见共享目录 ,见告权限不够  。此时可以通过如下下令:

              tail /var/log/message看到云云提醒:

              '/home/lyy' does not exist or permission denied when connecting to [lyy] Error was 权限不够

              SELinux is preventing the samba daemon from reading users home directories.For complete SELinux messages. run sealert -l a0c1c154-bc37-44f5-a6eb-cfc88fed18b9

              凭据提醒运行:

              sealert -l a0c1c154-bc37-44f5-a6eb-cfc88fed18b9

              可看到另外更详细的提醒 ,再凭据提醒

              Allowing Access

              If you want samba to share home directories you need to turn on the

              samba_enable_home_dirs boolean: "setsebool -P samba_enable_home_dirs=1"

              The following command will allow this access:

              setsebool -P samba_enable_home_dirs=1

              运行:

              setsebool -P samba_enable_home_dirs=1

              等运行乐成后 ,就能正常会见目录了 。-P参数是永世有用的意思 。

              注重setsebool放在/usr/sbin中  ,若是系统提醒setsebool下令找不到  ,加入上述路径即可