8/11/2023 0 Comments Selinux setools![]() sbin/ifconfig - system_u:object_r:ifconfig_exec_t:s0 sbin/ethtool - system_u:object_r:ifconfig_exec_t:s0 usr/sbin/tc - system_u:object_r:ifconfig_exec_t:s0 ![]() usr/bin/ip - system_u:object_r:ifconfig_exec_t:s0 sbin/tc - system_u:object_r:ifconfig_exec_t:s0 sbin/ip - system_u:object_r:ifconfig_exec_t:s0 bin/ip - system_u:object_r:ifconfig_exec_t:s0 files]# cat file_contexts |grep ifconfig_exec_t I'm having trouble finding information on what command, presumably from setools, I should use to find all the files on my filesystem that are labeled by SELinux with a certain file-context ( fcontext).Īt the moment, I can manually list the files along with their respective fcontexts from the file /etc/selinux/targeted/contexts/files, and then grep the specific fcontext I'd like to see.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |