NAME |SYNOPSIS |Record API Overview |Properties API Overview |Record Store API Overview |COLOPHON | |
semanage_seuser(3) Libsemanage API documentationsemanage_seuser(3)semanage_seuser - Linux UID to SELinux User Management API
#include <semanage/seuser_record.h>#include <semanage/seusers_policy.h>#include <semanage/seusers_local.h> This object contains properties associated with a Unix user. Typically many Unix users are mapped to the same SELinux user. Seesemanage_user(3) for overview of the SELinux user API. For details on a specific function, see its manual page.
semanage_seuser_create(3)- create a seusersemanage_seuser_free(3)- release resources for this seusersemanage_seuser_key_create(3)- create a key, which can be used to identify a seusersemanage_seuser_key_free(3)- release resources for this seuser keysemanage_seuser_key_extract(3)- create a key matching this seusersemanage_seuser_clone(3)- create an identical seuser (deep-copy clone)semanage_seuser_compare(3)- compare this seuser to the provided keysemanage_seuser_compare2(3)- compare this seuser to another
semanage_seuser_get_name(3)- return the name of this seusersemanage_user_set_name(3)- set the name of this seusersemanage_seuser_get_sename(3)- return the name of the (SELinux) user mapped to this seusersemanage_user_set_sename(3)- set the name of the (SELinux) user mapped to this seusersemanage_user_get_mlsrange(3)- return a the range of valid MLS sensitivities and categories for this usersemanage_user_set_mlsrange(3)- set the range of valid MLS sensitivities and categories for this user
semanage_seuser_modify_local(3)- add or update a seuser in the local storesemanage_seuser_del_local(3)- delete a seuser from the local storesemanage_seuser_exists(3)- check if a seuser is defined in the persistent policysemanage_seuser_exists_local(3)- check if a seuser is defined in the local storesemanage_seuser_query(3)- query a seuser in the persistent policysemanage_seuser_query_local(3)- query a seuser in the local storesemanage_seuser_count(3)- count the number of seusers defined in the persistent policysemanage_seuser_count_local(3)- count the number of seusers defined in the local storesemanage_seuser_iterate(3)- execute a callback for each seuser in the persistent policysemanage_seuser_iterate_local(3)- execute a callback for each seuser in the local storesemanage_seuser_list(3)- return an array containing all seusers in the persistent policysemanage_seuser_list_local(3)- return an array containing all seusers in the local store
This page is part of theselinux (Security-Enhanced Linux user- space libraries and tools) project. Information about the project can be found at ⟨https://github.com/SELinuxProject/selinux/wiki⟩. If you have a bug report for this manual page, see ⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩. This page was obtained from the project's upstream Git repository ⟨https://github.com/SELinuxProject/selinux⟩ on 2025-08-11. (At that time, the date of the most recent commit that was found in the repository was 2025-08-04.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which isnot part of the original manual page), send a mail to man-pages@man7.orgivg2@cornell.edu 16 March 2006semanage_seuser(3)Pages that refer to this page:semanage_user(3)
HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface. For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere. Hosting byjambit GmbH. | ![]() |