myhelp:selinux
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| myhelp:selinux [2023/11/07 14:34] – created ulrich | myhelp:selinux [2024/03/07 12:51] (current) – ulrich | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Set Lables for custom folders. | + | # Set Lables for custom folders |
| - | | + | ## Look in / |
| - | / | + | ``` |
| - | | + | grep dokuwiki / |
| - | | + | / |
| + | ``` | ||
| + | |||
| + | ## 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 | ||
| + | ``` | ||
| + | getsebool -a | ||
| + | ``` | ||
| + | |||
myhelp/selinux.1699367662.txt.gz · Last modified: by ulrich
