{"id":4414,"date":"2022-12-20T17:49:13","date_gmt":"2022-12-20T20:49:13","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/customizable_types-man5\/"},"modified":"2022-12-20T17:49:13","modified_gmt":"2022-12-20T20:49:13","slug":"customizable_types-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/customizable_types-man5\/","title":{"rendered":"customizable_types (man5)"},"content":{"rendered":"<h1 align=\"center\">customizable_types<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#FILE FORMAT\">FILE FORMAT<\/a><br \/> <a href=\"#EXAMPLE\">EXAMPLE<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">customizable_types \u2212 The SELinux customizable types configuration file<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>customizable_types<\/i> file contains a list of types that can be customised in some way by SELinux-aware applications.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Generally this is a file context type that is usually set on files that need to be shared among certain domains and where the administrator wants to manually manage the type.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The use of customizable types is deprecated as the preferred approach is to use <b>semanage<\/b>(8) <b>fcontext<\/b>(8) <b>&#8230;<\/b>(8). However, SELinux-aware applications such as <b>setfiles<\/b>(8) will use this information to obtain a list of types relating to files that should not be relabeled.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>selinux_customizable_types_path<\/b>(3) will return the active policy path to this file. The default customizable types file is:<\/p>\n<p style=\"margin-left:22%;\"><i>\/etc\/selinux\/{SELINUXTYPE}\/contexts\/customizable_types<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Where <i>{SELINUXTYPE}<\/i> is the entry from the selinux configuration file <i>config<\/i> (see <b>selinux_config<\/b>(5)).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>is_context_customizable<\/b>(3) reads this file to determine if a context is customisable or not for the active policy.<\/p>\n<h2>FILE FORMAT <a name=\"FILE FORMAT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Each line in the file consists of the following:<\/p>\n<p style=\"margin-left:22%;\"><i>type<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Where:<\/p>\n<p style=\"margin-left:22%;\"><i>type<\/i><\/p>\n<p style=\"margin-left:32%;\">The type defined in the policy that can be customised.<\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"># .\/contexts\/customizable_types <br \/> mount_loopback_t <br \/> public_content_rw_t <br \/> public_content_t <br \/> swapfile_t <br \/> sysadm_untrusted_content_t<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>selinux<\/b>(8), <b>selinux_customizable_types_path<\/b>(3), <b>is_context_customizable<\/b>(3), <b>semanage<\/b>(8), <b>setfiles<\/b>(8), <b>selinux_config<\/b>(5)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  customizable_types \u2212 The SELinux customizable types configuration file <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1409,1291],"class_list":["post-4414","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-customizable_types","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4414"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4414\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}