myhelp:selinux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| myhelp:selinux [2023/11/07 14:57] – [List all boolean Values] ulrich | myhelp:selinux [2024/03/07 12:51] (current) – ulrich | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | # Set Lables for custom folders |
| - | + | ## Look in / | |
| - | - Look in / | + | ``` |
| - | / | + | grep dokuwiki / |
| - | - Add a new content to your new folder/ | + | / |
| - | - Restore the context < | + | ``` |
| - | ====== | + | ## Add a new content to your new folder/ |
| - | < | + | ``` |
| + | semanage fcontext -a -t httpd_sys_rw_content_t '/ | ||
| + | ``` | ||
| + | |||
| + | ## Restore the context | ||
| + | ``` | ||
| + | restorecon -Rv / | ||
| + | ``` | ||
| + | |||
| + | # List all boolean Values | ||
| + | |||
| + | ``` | ||
| + | semanage boolean -l | ||
| + | ``` | ||
| OR | OR | ||
| - | < | + | ``` |
| + | getsebool -a | ||
| + | ``` | ||
| + | |||
myhelp/selinux.1699369043.txt.gz · Last modified: by ulrich
