Re: SELinux Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/20/2009 04:05 PM, Phil Savoie wrote:
> Hi All,
> 
> Is there a command to list all selinux context types.  semanage fcontext
> -l only lists those currently in the database but not say ...
> public_content_rw_t which is used for the ftpd and is listed in the man
> pages for it.
> 
> How do I get a combined listing of the ones used and not currently used
> but available?  I have found information under
> /etc/selinux/targeted/contexts that can be used but it's not in any easy
> command format and the information is in multiple files.
> 
> Thanks in advance,
> 
> Phil
> 

You can use seinfo for this type of query.  seinfo and sesearch are handy tools to query the policy

 seinfo -afile_type -x | wc
   1562    1562   34482

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux