Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


selinux_list_contexts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
selinux_list_contexts [2016/05/15 13:38]
admin [Example]
selinux_list_contexts [2016/05/15 13:39] (current)
admin [Example]
Line 31: Line 31:
   * We probably need ''samba_share_t''   * We probably need ''samba_share_t''
   * Check already configured contexts:<code>semanage fcontext -l</code>   * Check already configured contexts:<code>semanage fcontext -l</code>
-  * Set the context, if you don't know how, check ''semanage fcontext %%--%%help'' and read the ''semanage-fcontext'' manpage with examples.<code>semanage fcontext -a -t samba_share_t "/opt/smbdata(/.*)?"</code>+  * Set the context, if you don't know how, check ''semanage fcontext %%--%%help'' and read the ''semanage-fcontext'' manpage (with examples).<code>semanage fcontext -a -t samba_share_t "/opt/smbdata(/.*)?"</code>
        
selinux_list_contexts.txt ยท Last modified: 2016/05/15 13:39 by admin