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:56] – 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/ | ||
| + | ``` | ||
| + | semanage fcontext -a -t httpd_sys_rw_content_t '/ | ||
| + | ``` | ||
| + | |||
| + | ## Restore the context | ||
| + | ``` | ||
| + | restorecon -Rv / | ||
| + | ``` | ||
| + | |||
| + | # List all boolean Values | ||
| + | |||
| + | ``` | ||
| + | semanage boolean -l | ||
| + | ``` | ||
| + | OR | ||
| + | ``` | ||
| + | getsebool -a | ||
| + | ``` | ||
| - | ====== List all boolean Values ====== | ||
| - | < | ||
myhelp/selinux.1699368991.txt.gz · Last modified: by ulrich
