印刷  |  閉じる

MFC-J737DN / MFC-J737DWN

よくあるご質問(Q&A)

よくあるご質問(Q&A)

SELinuxを無効/設定する方法

無効にする方法

  1. Desktopプルダウンメニューから、「システム設定」-「セキュリティレベル」を選択します。
     
  2. SELinuxタブを選択し、「有効にする」のチェックをはずします。その後、[OK]をクリックしてください。
     
  3. システムを再起動させます。

 

有効にしたまま設定する方法

  1. "/etc/selinux/targeted/contexts/files/file_contexts"のバックアップを取得してください。
     
  2. "/usr/local/Brother/"ディレクトリー以下を確認し、ディレクトリーの内容により、以下を実施してください。
     
    "/usr/local/Brother/"以下に"inf", "lpd", "cupswrapper"ディレクトリーがあった場合>
     以下の3行を"file_contexts"に追加してください。
    ------------------------------------------------------------------------------------
    /usr/local/Brother/inf/.* -- system_u:object_r:cupsd_etc_t:s0
    /usr/local/Brother/lpd/.* -- system_u:object_r:bin_t:s0
    /usr/local/Brother/cupswrapper/.* -- system_u:object_r:bin_t:s0
    ------------------------------------------------------------------------------------
     
    次に、以下のディレクトリーで"restorecon *"コマンドを実行してください。
    /usr/lib/cups/filter
    /usr/lib64/cups/filter
    /usr/local/Brother/lpd
    /usr/local/Brother/inf
    /usr/local/Brother/cupswrapper
     ***"/usr/lib64/cups/filter"でのコマンド実行は64bitディストリビューションのユーザーのみ必要です。
     
     
    "/usr/local/Brother/Printer/(プリンター・MFC名)/"以下に"inf", "lpd", "cupswrapper"ディレクトリーがあった場合>
     以下の3行を"file_contexts"に追加してください。
    ------------------------------------------------------------------------------------
    /usr/local/Brother/Printer/(printer name)/inf/.* -- system_u:object_r:cupsd_etc_t:s0
    /usr/local/Brother/Printer/(printer name)/lpd/.* -- system_u:object_r:bin_t:s0
    /usr/local/Brother/Printer/(printer name)/cupswrapper/.* -- system_u:object_r:bin_t:s0
    ------------------------------------------------------------------------------------
    注記:必要な記載内容はディストリビューションによって変わります。以下の情報を参考にし、適切な記載内容をご確認ください。
    "lpd" and "cupswrapper"に対しての記述は"/usr/lib(64)/cups/deamon/.*"と同一の記載になります。
    "inf"に対しての記述は、"/etc/cups/ppd/.*"箇所の記載と同一になります。
     
    次に、以下のディレクトリーで"restorecon *"コマンドを実行してください。
    /usr/lib/cups/filter
    /usr/lib64/cups/filter
    /usr/local/Brother/Printer/(printer name)/inf
    /usr/local/Brother/Printer/(printer name)/lpd
    /usr/local/Brother/Printer/(printer name)/cupswrapper
    ***"/usr/lib64/cups/filter"でのコマンド実行は64bitディストリビューションのユーザーのみ必要です。
     
  3. パソコンを再起動してください。

 

注意事項

SELinuxの詳細に関しては、ディストリビューション提供元へご相談ください。

 

 

印刷  |  閉じる