myhelp:selinux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| myhelp:selinux [2024/03/07 12:14] – old revision restored (2023/11/07 14:57) 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.1709813696.txt.gz · Last modified: by ulrich
