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