{"id":4268,"date":"2022-12-20T17:48:49","date_gmt":"2022-12-20T20:48:49","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/seusers-man5\/"},"modified":"2022-12-20T17:48:49","modified_gmt":"2022-12-20T20:48:49","slug":"seusers-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/seusers-man5\/","title":{"rendered":"seusers (man5)"},"content":{"rendered":"<h1 align=\"center\">seusers<\/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\">seusers \u2212 The SELinux GNU\/Linux user to SELinux user mapping configuration file<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>seusers<\/i> file contains a list GNU\/Linux user to SELinux user mapping for use by SELinux-aware login applications such as <b>PAM<\/b>(8).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>selinux_usersconf_path<\/b>(3) will return the active policy path to this file. The default SELinux users mapping file is located at:<\/p>\n<p style=\"margin-left:22%;\"><i>\/etc\/selinux\/{SELINUXTYPE}\/seusers<\/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>getseuserbyname<\/b>(3) reads this file to map a GNU\/Linux user or group to an SELinux user.<\/p>\n<h2>FILE FORMAT <a name=\"FILE FORMAT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Each line of the <i>seusers<\/i> configuration file consists of the following:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">[<b>%<\/b><i>group_id<\/i>]|[<i>user_id<\/i>]<b>:<\/b><i>seuser_id<\/i>[<b>:<\/b><i>range<\/i>]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Where:<\/p>\n<p style=\"margin-left:22%;\"><i>group_id<\/i>|<i>user_id<\/i><\/p>\n<p style=\"margin-left:32%;\">The GNU\/Linux user id, or if preceded by the percentage (<b>%<\/b>) symbol, then a GNU\/Linux group id. <br \/> An optional entry set to <b>__default__<\/b> can be provided as a fall back if required.<\/p>\n<p style=\"margin-left:22%;\"><i>seuser_id<\/i><\/p>\n<p style=\"margin-left:32%;\">The SELinux user identity.<\/p>\n<p style=\"margin-left:22%;\"><i>range<\/i><\/p>\n<p style=\"margin-left:32%;\">The optional level or range for an MLS\/MCS policy.<\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"># .\/seusers <br \/> system_u:system_u:s0\u2212s15:c0.c255 <br \/> root:root:s0\u2212s15:c0.c255 <br \/> fred:user_u:s0 <br \/> __default__:user_u:s0 <br \/> %user_group:user_u:s0<\/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>PAM<\/b>(8), <b>selinux_usersconf_path<\/b>(3), <b>getseuserbyname<\/b>(3), <b>selinux_config<\/b>(5)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  seusers \u2212 The SELinux GNU\/Linux user to SELinux user mapping 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,1291,1290],"class_list":["post-4268","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-seusers"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4268","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=4268"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4268\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}