Unix-commands-chcat

提供:Dev Guides
移動先:案内検索

chcat-Unix、Linuxコマンド

link:/unix_commands/index [previous] link:/unix_commands/index [next] [[1]] php [AddThis Social Bookmark Button]

NAME

概要

  • chcat category file chcat -l category user chcat [[category …​] file chcat -l [[+ |-] category …​] user chcat - dfile chcat -l - duser chcat * - L

説明

各_file_または_user_のセキュリティ_category_を変更/削除します。

_file_または_user_からカテゴリを追加/削除するには、+/-を使用します。

  • 注意: カテゴリを削除するときは、-Category構文を使用する前にコマンドラインで「-」を指定する必要があります。 これは、オプションの入力が完了し、代わりにカテゴリ名を指定していることをコマンドに伝えます。
Tag Description
-d delete the category from each FILE/USER.
-L list available categories.
-l Tells chcat to operate on users instead of files.

関連項目

リンク:/chcon.1 [chcon(1)]リンク:/selinux.8 [selinux(8)]リンク:/semanage.8 [semanage(8)]

ファイルを操作する場合、このスクリプトはchconコマンドをラップします。

ファイル

リンク:/unix_commands/index [previous]リンク:/unix_commands/index [next]リンク:/cgi-bin/printversion.cgi?tutorial = unix_commands&file = chcat [Printer Friendly]

  
Advertisements